Re: Customizing right side column
Tal, Thank you for your reply. I still cannot seem to get this to work properly.
I have tried:
{if $current_category.parentid eq "11" || $current_category.categoryid eq "11"}
{include file="xxx/.tpl"}
{/if}
{if $current_category.parentid eq "11"}
{include file="xxx/.tpl"}
{/if}
{if $current_category.categoryid eq "11"}
{include file="xxx/.tpl"}
{/if}
Oddly when i tried
{if $current_category.categoryid neq "11"}
{include file="xxx/.tpl"}
{/if}
the tpl showed on a different category and only appeared on this 1 category? What this 1 category had that no other one had was featured product. Not sure if that is just coincidence or if featured products are affecting this some how?
Is there a x-cart smarty cheat sheet or some other x-cart smarty resource? How can I know what variables are available to try. current_category.categoryid seems logical.. not sure what else to try. The tpl did pull using 'neq' so I can safely assume the path and the the tpl file itself are not the issue.
Thanks!
Balinor/Moderator - should this be thread moved to program logic forum?
__________________
live: 4.3.2 w/below Mods
On Sale
MAP Mod
Power Filter
Mega Menu
ezupsell
youtube
Dev: 4.4.1
|