Announcement

Collapse
No announcement yet.

can I use <else> in templates?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • sss
    replied
    actually never mind, sorry. I found out that it's possible through searching.

    Leave a comment:


  • sss
    started a topic can I use <else> in templates?

    can I use <else> in templates?

    Hi there,

    I have a quick question. I already know that it's possible to have if conditions in templates, but is it possible to have else as well?

    for example

    <if condition="$true">
    show this table or cell
    <else>
    show this other code table/cell which has a different design
    </if>

    could I use someting like that within a template without having to modify or add anything to the php files? thank you.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X