I was looking for a solution to help me add content into a page which would change depending on which section of the help zone i was in.
I found plenty of questions asking for the same solution, but no answers.
I took a few moments out to deduce it myself and here is the solution:
Code:
{if $main eq "help" and $help_section eq "FAQ"}
show this
{elseif $main eq "help" and $help_section eq "contactus"}
show something else
{elseif $main eq "help" and $help_section eq "business"}
show something different again...
{/if}
...and so on.
To determine which areas of the help zone to alter, refer to skin1/help/index.tpl for the various parts of x-cart's help zone.
hope this helps