Fli
09-21-2013, 01:16 PM
Hi, if you want to create condition in WHMCS tempaltes, they are using smarty system with { and }
For example if you want to create condition for language:
{if $language == english}
english content
{else}
othercontent
{/if}
or if you want to add more conditions
{if $language == english}
english content
{else if $language == czech}
czech content
{else}
otherlanguage content
{/if}
Please note it MUST BE LOWERCASE
For example if you want to create condition for language:
{if $language == english}
english content
{else}
othercontent
{/if}
or if you want to add more conditions
{if $language == english}
english content
{else if $language == czech}
czech content
{else}
otherlanguage content
{/if}
Please note it MUST BE LOWERCASE