Tense Log: Templates: flexdata
Inserts only the data or value of a single flex field. It must appear inside of a <tenselog:entries> tag.
Use flexfield to insert a label and divider along with the value. Use flexfields if you want to insert all of the flex fields in a single block.
Attributes
no or number: the number of the flex field to insert. The default is 1.
urlencode: true or false. If set to true, the text will be URL encoded, so that it can be inserted into a link. The default is false.
htmlentities: true or false. If set to true, HTML entities in the text will be encoded.
Example
<tenselog:if value="{tenselog:flexdata no='1'}"><p><tenselog:createlink href="{tenselog:flexdata no='1'}" text="View Map" /></p></tenselog:if>
Assuming flex field one is a link to a map, this example would insert a link to that map where appropriate.
Last updated April 09th, 2006
Can't find what you're looking for? View a complete site map.