Page 1 of 1

Conditional Content - template

Posted: Fri Mar 13, 2015 3:16 pm
by masjmh
Can I define If else condition in my template module?
If I create a text module in my template and in this text module I want to insert if else condition for e.g. If group1 than link1 elseif group2 than link2 else default link.
Here group1, group2 are the values in my db table column name group.
I donot want to create 3 content block in text module .
How can I write If - else condition for such purpose?
Thanks a lot

Re: Conditional Content - template

Posted: Sun Mar 15, 2015 10:22 am
by maschoff
You may create target groups and a different text module version for each target group.