IF in company directory
Posted: Wed Jun 16, 2010 5:38 pm
dear readers
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:
OR
can anyone help me with this script?
thanks already R.
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.