Skip to the content
Documentation

Recently added

Recent ratings Recent changes Recent comments Atom feed

26465 added pages

Thursday November 05 2026

  1. set Updated

    · Technical manual 6.x · Added 09:04 am · Written by Balazs Halasy

    Summary Sets the value of a variable. Usage {set $var1=value1 [ var2=value2 [...] ] [ name=name ] [ scope=scope ]} Parameters Name Type Description Required var1 string Name of variable number one (with a dollar sign in…

  2. set-block Updated

    · Technical manual 6.x · Added 09:04 am · Written by Balazs Halasy

    Summary Redirects the output from a block of template code to a string. Usage {set-block variable=$variable [ name=name ] [ scope=scope ]} ... {/set-block} Parameters Name Type Description Required variable string The na…

  3. sequence New

    · Technical manual 6.x · Added 09:04 am · Written by Balazs Halasy

    Summary Creates a sequence that can be iterated. Usage {sequence name=name loop=loop} Parameters Name Type Description Required name string The name of the target namespace. Yes. loop array The iteration elements (as an…

  4. default New

    · Technical manual 6.x · Added 09:04 am · Written by Balazs Halasy

    Summary Deprecated. Description This function is deprecated and should not be used. If you need more information, please refer to the documentation of the old template syntax (it is still present in some of the default t…

  5. let New

    · Technical manual 6.x · Added 09:04 am · Written by Balazs Halasy

    Summary Deprecated. Description This function is deprecated and should not be used. If you need more information, please refer to the documentation of the old template syntax (it is still present in some of the default t…

  6. def Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Declares (and defines) a variable. Warns if the variable already exists. Usage {def $var1=value1 [ $var2=value2 [...] ]} Parameters Name Type Description Required $var1 string Name of variable number one (with a…

  7. append-block Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Redirects the output from multiple blocks of template code to an array. Usage {append-block variable=$variable [ name=name ] [ scope=scope ]} ... {/append-block} Parameters Name Type Description Required name str…

  8. rdelim Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Outputs a right curly bracket, "}". Usage {rdelim} Description This function displays a right curly bracket, "}". It can for example be used to add JavaScript functions in a template. Examples Example 1 <script l…

  9. run-once Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Assures that a block of template code is run only once within a page view. Usage {run-once} ... {/run-once} Description This function makes sure that a block of template code is processed only once within a page…

  10. literal Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Instructs the parser to ignore a block of template code. Usage {literal} ... {/literal} Description This function can be used to encapsulate foreign code (for example JavaScript) that makes use of characters that…

  11. include New

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Includes a file. Usage {include uri='path_to_file' [ name='namespace' ] [ parameter(s)='value(s)' ]} Parameters Name Type Description Required uri string Path + name of the file that should be included. Yes. name…

  12. ldelim Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Outputs a left curly bracket, "{". Usage {ldelim} Description This function displays a left curly bracket, "{". It can for example be used to add JavaScript functions in a template. Examples Example 1 <script lan…

  13. fetch_alias Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Executes a fetch based on configuration settings. Usage fetch_alias( alias_name, hash( [ parameter1, value1, ] [ parameter2, value2 ] ) ) Parameters Name Type Description Required alias_name string The name of th…

  14. debug-trace Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Generates an XDebug dump which can be traced/analyzed. Usage {debug-trace [ id=id ]} ... {/debug} Parameters Name Type Description Required id string The name of the debug file. No. Description This mechanism mak…

  15. cache-block Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Caches the contents of a template block to static content for fast retrieval. Useful to avoid fetching content over and over from database when it is possible to cache it within a set of parameters. Note: cache-b…

  16. debug-timing-point Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Measures the time it takes to process a block of template code. Usage {debug-timing-point [ id=id ]} ... {/debug-timing-point} Parameters Name Type Description Required id string An identification string for the…

  17. debug-log New

    · Technical manual 6.x · Added 09:03 am · Written by Geir Arne Waaler

    Summary Generates a debug log entry for the specified variables. Usage {debug-log [ var=variable ] [ msg=message ]} Parameters Name Type Description Required var mixed A variable to be outputted to the debug-log No. msg…

  18. debug-accumulator Updated

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Summary Generates debug statistics for a block of template code. Usage {debug-accumulator [ id=id ] [ name=name ]} ... {/debug-accumulator} Parameters Name Type Description Required id string A unique identifier string f…

  19. Visualization New

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Function Summary attribute_edit_gui Outputs the edit template for a content object attribute. attribute_pdf_gui Outputs the PDF template for a content object attribute (DEPRECATED). attribute_result_gui Outputs the resul…

  20. Variables New

    · Technical manual 6.x · Added 09:03 am · Written by Balazs Halasy

    Function Summary append-block Redirects the output from multiple blocks of template code to an array. def Declares (and defines) a variable. Warns if the variable already exists. default Deprecated. let Deprecated. seque…