| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Adding graphic below sidebox on category page | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I have a left sidebar on my category pages and my product pages. It currently has 3 boxes: Categories, Company Info and Best Sellers
I have been reading about sideboxes but can't find a solution. I basically want to add a static graphic below these boxes on my category pages and my product pages. I tried messing with the menu_dialog.tpl file but when I added my image as a new <div class="box"> it didn't work. Anyone know what file I need to edit to add my graphic?
__________________
X-Cart Gold 4.5.4 |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
you need to add it to home.tpl in the left sidebar section, then put a conditional if statement around it so that it only shows only show on the pages you want.
probably this would work. {if $cat ne ''}<div><img src="{$ImagesDir}/yourimage.jpg" alt="" />{/if}
__________________
xcart 5.1.2 |
|||||||||
|
#3
|
|||||||||
|
|||||||||
|
... and you need to close the div before the closing {/if}; also is always better to have width and height for the image
{if $cat ne ''}<div><img src="{$ImagesDir}/yourimage.jpg" width="xxx" height="xxx" alt="" /></div>{/if}
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||