Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
SajMalik
SajMalik
In products.html [malikstores.co.uk/products.php?]I have added a 3 column wide block along the lines of the greeting on the home page.
 
-------------------------
Code =
-------------------------
<body class="commonbg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" oncontextmenu="return false;">
{header}
<table width="900px" border="0" cellspacing="0" cellpadding="0" class="mainTable">
<!-- begin greeting_block -->
<tr><td valign="top" class="homeGreeting2" colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div>
<div align="center"><strong class="aatext2b-cream">Probably the best shopping place on the internet — in Europe — for all your Afro-Caribbean Supplies. Great choice, prices and service.</strong></span> </div>
</div></td></tr>
</table>
</td></tr>
<!-- end greeting_block -->
<tr>
<!-- begin left_column -->
 
*****************************************
In products_details I have tried the same:
*****************************************
body class="commonbg" oncontextmenu="return false;">
{header}
<table width="900px" border="0" cellspacing="0" cellpadding="0" class="mainTable">
<!-- begin greeting_block -->
<tr><td valign="top" class="homeGreeting2" colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div>
<div align="center"><strong class="aatext2b-cream">Probably the best shopping place on the internet — in Europe — for all your Afro-Caribbean Supplies. Great choice, prices and service.</strong></span> </div>
</div></td></tr>
</table>
</td></tr>
<!-- end greeting_block -->
<tr>
<!-- begin left_column -->
**********************************
but this time it does not appear [malikstores.co.uk/product_details.php].
Strange? Have I missed something?
Can anyone say why this would be?
 
Chris
 
tony
tony
Greetings
 
Hi Chris
 
You might take a look at the address when I click PRODUCT
the link appear: http://www.malikstores.co.uk//products.php?category_id=515
 
Should not it be
http://www.malikstores.co.uk/products.php?category_id=515
 
Only 1 hash mark instead of 2
 
Tony
HolleyLand
 
tony
tony
Greetings,
 
Hi Chris
 
Why are you doing the work in css. Would it not be easier to
do it from administrative menu:
 
Site Layout:
Make a custom block
 
Then go "Product Detail" copy the custom block from the drop-down menu to "Product Detail" page.
 
What you have to keep in mind that whatever custom block you design should be reasonable in size - "wouldn't recommend a very large image". Since it will appear in all products detail pages.
 
You can disregard my earlier post, I misunderstood what you needed help with.
 
Tony
HolleyLand
 
SajMalik
SajMalik
Tony
 
How do you get a custom block to span the three columns?
 
Chris
 
SajMalik
SajMalik
Also, Tony, I do understand the process - you will see that I already have custom blocks created; the essence of my question is - if the code works in one file why does identical code not work in the other? Wall Bash
 
tony
tony
Greetings
 
Hi christopherO
 
This is my observation after checking your site:
 
1. In the css you outline how you wanted the "Home Greeting" block to appear on the index page.
 
2. Now you want the same "Home Greeting" block to appear in
"Product Detail" page by modifying the css sheet again. In so doing causing a conflict.
 
3. Can't you not from cms layout place the "Home Greeting" block into "Product Detail" page? Placing the block to the very top without modifying the css sheet.
 
If NOT why not make a header so that your slogan appears on
all pages.
 
4. I have taken a snap-shoot of your site follow the link shown below:
Link: http://www.holleyland.com/images/malik.jpg
 
5. From the snap-shoot, you can see how the your cart appears on large monitors.
 
If you need further assistances, please post at holleyland.com forum.
 
Tony
Holleyland
 
SajMalik
SajMalik
er . . . then why does block this appear OK on /products.php? ..... but not product_details.php?.
Surely the same issue relates to both URLs?
 
The .css used is NOT the one for Greetings on the home page - it is a .css specifically for the block on /products.php?
 
And I don't want to use the banner header - I don't need it on all pages and I want a different slogan on the details page.
 
I am also not sure why you raise the issue about how my site appears on a large monitor. I am working on 1280 x 1024. According to mt stats very few visitors have a monitor even that big so let's not get side tracked?
 
Regards
 
Chris
 
tony
tony
Greetings
 
Hi ChristopherO
 
I raised the issue to help you, not to side track you. It might have pointed you in the right direction in resolving
the issue.
 
 
Tony
HolleyLand
 
SajMalik
SajMalik
Understood Tony - I just feel that I still do not understand why one page works and not the other.
I do appreciate your comments.
 
DickS
DickS
Maybe for the same reason why some blocks are not available in home page compared to details and list pages?
 
I've been wondering about why that is too.
 
DickS
 
 
 
PS: Another example is ratings. The rating graphics show on list pages but not on detail pages although the same code is present in the template.
 
SajMalik
SajMalik
Interesting Dick. Hopefully I will get a Viart comment on this then? Broad grin