Child pages
  • Ability to check element definition in tag
Skip to end of metadata
Go to start of metadata

Imported from: http://groups.google.com/group/in-portal-dev/browse_thread/thread/92fb52a18d4f1963#

In-Portal's template engine's key feature is block definitions. You can create HTML code block using m_DefineElement tag and then use it later using m_RenderElement block. It's like moving widely used PHP code into a function.

However it has no tag for checking if a particular element was defined. Now it is.

check_element_definition_from_tag_feat.patch

Related Tasks

INP-973 - Getting issue details... STATUS

2 Comments

  1. Great functionality - I personally find it useful alot.

    Use Example:

    <inp2:m_if check="m_ElementDefined" name="inp_edit_box">

    So something here

    </inp2:m_if>

  2. Great idea Alex, and thanks Dmitry for the example, useful too :)

    Envoy