in the module company directory, i want to make an "if" instruction, to an mark out the difference of a company base on the category (a company directory parameter) it belongs too.
i would expect it would look something like this:
Code: Select all
{if $categorytext == 'MyCategory'}
.....
{/if}
Code: Select all
{if $category->MyCategory == '1'}
.....
{/if}
thanks already R.