Quote:
Originally Posted by balinor
{if $categories[cat_num].order_by < 500}
|
Well, that didn't work for me... I'm using PhilJ's vflyout cateories, and I don't use categories.tpl -- the var is not working for me...
Any idea what var I should use?
The .tpl I need to change contains:
So does this mean incoming categories are renamed c.category ?
I tried {if $c.category[order_by] lt 900 }{/if} -- no good
I tired {if $c.category.order_by lt 900 }{/if} -- no good
I tired {if $c.categories[order_by] lt 900 }{/if} -- no good
I tired {if $c.categories.order_by lt 900 }{/if} -- no good
Am I putting the {/if} in th right place? if I were flowcharting this, I'd say, "if the category POS is lt 900, then continue on, otherwise, you're stuck -- don't pass go. I've been staring at the screen too long, I can't think straight...
This smarty thing is 3 steps forward 5 steps back. Ugh.
Anyone? My goal is to trap any category with a POS greater than 900 to not show up in the categories list.
Your assistance is appreciated.
Thanks,
Jeremy