Results 1 to 3 of 3

Thread: Custom instertag - if statement

  1. #1

    Default Custom instertag - if statement

    Hi.

    I have created custom instertag "{{edEventExtended::name}}".

    Is it possible to make if statement using without php? Because I must include it in content element.

    Thanks.
    Web design agency - EDsolution.si Izdelava spletnih strani

  2. #2
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Hm, what exactly do you want to do?

  3. #3

    Default

    Let me take another example.

    I have made also tag {{edEventExtended::workshop}}.
    In the event you select if the event has workshops and you fill extra field (multitextwizard).
    In FE you can than select workshops which are passed via url to form and:
    - in article where the form is called as content element I need the if statement because I have smth. like this "Workshop: {{edEventExtended::workshop}}". Now if workshop is not even selected in event than those label and paragraph should not be displayed.
    Web design agency - EDsolution.si Izdelava spletnih strani

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •