![]() |
Use an image instead of text for category listing
IБ─≥m new to the X-Cart template thing, and IБ─≥ve also tried searching the form for an answer without luck.
When a customer visits the store, IБ─≥d like the category listing to use the image IБ─≥ve uploaded when I created the category. Quite frankly, IБ─≥m stumped on doing this, so if anybody knows how or can point me in the right direction, IБ─≥d greatly appreciate it. |
Try this in categories.tpl, right under the first section tag:
[img]{$xcart_web_dir}/icon.php?categoryid={$categories[cat_num].categoryid}[/img] |
Thanks! That seemed to do the trick with the categories. Can I do something similiar for the Manufacturers as well? I tried the following in
/modules/Manufacturers/menu_manufacturers.tpl without any luck: [img]{$xcart_web_dir}/icon.php?manufacturerid={$manufacturers_menu[mid].manufacturerid}[/img] |
Check the custom mods forum for that, I believe there is a mod in there for it.
|
All times are GMT -8. The time now is 06:05 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.