Display this
{else}Display that
{/if} Debug ----- You can turn on debug mode with ``$debug``: .. code-block:: php $debug = true; .. tip:: Debug messages will be printed in server logs. This is also possible to enable Smarty debug, for web interface issues: .. code-block:: php $smarty_debug = true; .. tip:: Debug messages will appear on web interface. You will also have many more messages in error logs. Smarty ------ You need to define where Smarty is installed: .. code-block:: php define("SMARTY", "/usr/share/php/smarty3/Smarty.class.php");