| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Calling and Displaying Category Description within a List. | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Here is the page I am currently working on:
http://10000waves.xynergy.com/FloatingWorld/home.php You'll see 4 categories tiled underneath the large advertisement image. Each of the categories currently display the Category Name and the Category Icon. I am trying modify the page so that the Category Description is also displayed underneath the Category Name. Here is the code I have so far within a custom tpl file I've created for this page: Code:
I have tried calling the category using the standard: Code:
As well as: Code:
both to no avail. Is there other syntax I can use to call this variable?
__________________
Xcart version 4.0.16 |
|||||||
|
#2
|
|||||||
|
|||||||
|
I figured it out.
I used this: Code:
to view what variables I had available on the page I'm working on. I saw that the variable [description] was not listed. So I went to include/categories.php and added Code:
to the line: Code:
and the rest is history! Thanks for all your "help" forum people.
__________________
Xcart version 4.0.16 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||