I am currently using Smarty-php for the first time, I am struggling however with placing a if statement around the {include} below.
{include './header.tpl'}
Everytime I do the following I get a 500 error.
{if $smarty.get.special is not "ajax"}
{include './header.tpl'}
{/if}
It should be:
The
is [not]
syntax can be used to check if a value is (or is not) even or odd.