| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Cat. Icon as Background Instead of Image | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Howdy!
Is is possible to cut some code out of the subcategories.tpl and put it into the category description in admin? Reason being I would like to use large (520x320px) images as root category icons but don't want to use up screen real-estate and thought I'd display the category icon as a background image for the subcategory listing and number of products within those subcageories. Here is the code I'm assuming needs changing, along with some {if} statements. I run into problems when I try to reference the call to the cat_icon URL in the background image URL. Code:
If all else fails I could always insert individual statements for each category, there aren't that many, and upload the icons to the skin1/images folder. All help gratefully received.
__________________
X-Cart Gold | v 4.0.18 | Unix | php 4.3 | phpMyAdmin 2.8.0.3 | |
|||||||||
#2
|
|||||||
|
|||||||
![]() I think i can be done. When in the admin section , in the text box where you add the description of the category.
include html already formated the way you want it to look. This html can be a cell with the background picture and then your description on top. done. let me know if it worked .
__________________
X-Cart 4.0.18 DBest |
|||||||
|
|||
X-Cart forums © 2001-2020
|