Events Made Easy Forums How do I … define various ids in a if-clause

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #55474
    csquirrel
    Participant

    I am currently editing one of the mails that the system will sent. Previously I had 4 event categories. The event-registration-mails for category 1,2 and 3 included a sentence that is not included in mails for category 4. My solution for this was:
    [eme_if tag='#_EVENTCATEGORYIDS' lt=4]

    Now I have two additional categories. And I want to have that sentence shown in one of them. How do I need to modify the tag so that the sentence will show in mails for category 1,2,3 and 5? Can I add several values [eme_if tag='#_EVENTCATEGORYIDS' value='1','2','3','5']?

    Any ideas?

    #55477
    Franky
    Keymaster

    Split your code per category id:

    
    [eme_if tag='#_EVENTCATEGORYIDS' lt='4']
    xxx
    [/eme_if]
    [eme_if tag='#_EVENTCATEGORYIDS' value='5']
    xxx
    [/eme_if]
    

    You’ll need the same content twice (the “xxx” part), but that’s all ..

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.