Topic: Logic inside Templates
Hi @ all,
On first sorry for my bad English.
And now my Question:
I use the WYSIWYG Editor inside CuteNews to write my Templates.
On my page I show news for two categories inside one area. ($caterory=’1,2’)
Now I will write inside my template something like:
[cat=’2’] ... [$catid]... [/cat]
But it does not work, the $catid would not be displayed.
If I write:
[cat=1] ... [$catid]... [/cat]
CuteNews write inside each news the correct catid, but not for the first category only.
What does I make wrong?
How can I write something like {if $x==’y’} Hello World! {/if}