public Function tags

Contents [ show ]

Description

The function tags are developed by the WordFrame team. They can be used everywhere in the public site in HTML, javascripts, etc. and will be substituted with the real values when the HTML is rendered. Function tags can be inserted as:

{{ function_tag: parameter }}   or   {{ function_tag: parameter $|$ option_1 $|$ option_2 }}

Exception

Functional tags placed between HTML comments "<!-- {{ begin_no_tag_processing }} -->" and "<!-- {{ end_no_tag_processing }} -->" will not be processed.

Existing functional tags

functional tagDescriptionparamsaction
content Returns as text important page environment details 8 View
current-user Returns the current user details 3 View
snippet Searches the current language package for the provided template key and substitutes it with its value, but is kept as tag in input text areas. unlimited View
translate Searches the current language package for the provided template key and substitutes it with its value,but is not kept as tag in input text areas. unlimited View
url Will be substitute dynamically with a URL to system's important locations 11 View
profile Will be substitute dynamically with data value for a selected user profile's field 59 View
Last edited by Boz Zashev on 26 Oct 2010 | Rev. 11 | This page is public | Views: 1
Comments: 0 | Filed under: root | Tags: