Conditional Content - template

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

masjmh
Posts: 12
Joined: Wed Feb 04, 2015 5:27 pm

Conditional Content - template

Post 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
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Conditional Content - template

Post by maschoff »

You may create target groups and a different text module version for each target group.
OpenEMM Maintainer
Post Reply