![]() |
Category/Subcategory specific Photo below featured items
I am trying to place specific photos below featured items in all of my categories and sub categories. I have identified how to place one photo below featured items for all categories, but am struggling with my If statement to make the photos category specific.
For example: {if $category eq "children"} [img]{$ImagesDir}/child.gif[/img] {elseif $category eq "adult"} [img]{$ImagesDir}/adult.gif[/img] The problem is that I don't know what $category and "children" actually are!! Is $category actually $cat and "children" actually "1"? I hope this makes sense. Thanks |
yeh,
{if $cat eq "1"} etc is the way to go. just swap the cat id number |
Right under my nose all along
Right under my nose all along
|
All times are GMT -8. The time now is 11:14 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.