User Tools

Site Tools


en:public:developer:template_system:tags:pagescfg:page_cfg

<#page_cfg>

This tag return the configuration xml node of the current page. You can find more details with cfgpages

Example

Given this configuration node :

<cfg>
  ..
  <doctype>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</doctype>
  ..
</cfg>

then

<#page_cfg.childnodes['doctype'].text>

will output

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
en/public/developer/template_system/tags/pagescfg/page_cfg.txt · Last modified: 2015/09/07 18:07 by svanderclock