<unique> element

Appears in: many

Creates a block that is only evaluated once, no matter how many times the block is evaluated during the rendering of a single page.

Figure B.15. <unique> Attributes

NameTypeRequired ?Default ValueDescription
tagstringyes A unique tag used to detect the first time the block defined by the <unique> element has been evaluated.

Figure B.16. <unique> Elements


  (text | <foreach> | <if> | <if-not> | <unique>) *