Announcement

Collapse
No announcement yet.

Variable Qualifiers

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

    Variable Qualifiers

    A 'Variable Qualifier' is a way of specifying exactly where you want data to come from, where there is more than one choice for the data source.

    There are three variable qualifiers:

    * MainBrochure - used in brochure page links to insert details about the current brochure page.

    * MainSection - used in section links to insert details about the current section.

    * AssociatedProduct - used in permutation layouts to insert details about the associated product.

    Here is the format of a variable qualifier:

    <actinic:variable name="VariableQualifier::VariableName"/>

    Here are some examples of where to use them.

    If you insert the following variable within a brochure page link layout, it will insert the name of the current brochure page into the layout:

    <actinic:variable name="MainBrochure::BrochureName" />

    For example, if the list of brochure pages was displaying on a page called 'Home', the above variable would be substituted for the text 'Home'.

    The following variable will insert the ID of the current section into the section list:

    <actinic:variable name="MainSection::SectionID" />

    So if the section list was displaying within a section that had an ID of '5', the above variable would be substituted for the number '5'.

    Finally, you can enter almost any product variable into a permutation layout with the variable qualifier of 'AssociatedProduct' and the details of the associated product will be shown in the permutation layout. For example:

    <actinic:variable name="AssociatedProduct::ProductName" />

    ... will insert the name of the associated product into the permutation layout.
Working...
X