User Tools

Site Tools


en:public:developer:template_system:tags:parameters:default

Default

Parameter “default” specifies the default value that will be returning if the called function (or var) return and empty string or a null value.

NOTE: By default the content of the parameter “default” will be parsed (all <#..> tags will be evaluated) before to apply this filter. You can control this behavior throught the parameter AnalyzeTagParams

Example

  <#page_title default="ArKadia">

Case 1. Page_title is “Special promotions”. Output:

  Special promotions

Case 2. Page_title is empty. Output:

  ArKadia
en/public/developer/template_system/tags/parameters/default.txt · Last modified: 2013/01/27 17:17 by admin