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
Conditional Content - template
Moderator: moderator
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Conditional Content - template
You may create target groups and a different text module version for each target group.
OpenEMM Maintainer