This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:headelement:meta_title [2013/03/02 15:53] admin [Default] |
en:public:developer:template_system:tags:headelement:meta_title [2013/03/02 18:23] (current) admin |
||
---|---|---|---|
Line 19: | Line 19: | ||
the result of <#meta_title> for the page "/" will be "<title>My title</title>" | the result of <#meta_title> for the page "/" will be "<title>My title</title>" | ||
+ | |||
+ | ==== Parameters ==== | ||
+ | |||
+ | ^ Name ^ Mandatory ^ Default ^ Description ^ | ||
+ | | <html><span style="color:#008000">WithHtmlTag</span></html> | No | 1 | If 0 return the title content without the <title></title> html tag | | ||
+ | |||
+ | |||
==== Default ==== | ==== Default ==== | ||
- | if [[en:public:developer:template_system:cfgpages]] does not contain the node doctype for the current | + | if [[en:public:developer:template_system:cfgpages]] does not contain the node |
- | page then the domain Name (Without any extension) will be returned | + | |
+ | <code xml> | ||
+ | <page name='/'> | ||
+ | <cfg> | ||
+ | <metatags> | ||
+ | <title>My title</title> | ||
+ | </metatags> | ||
+ | </cfg> | ||
+ | </pages> | ||
+ | </code> | ||
+ | |||
+ | |||
+ | then the function will look for | ||
+ | |||
+ | <code xml> | ||
+ | <page name='/'> | ||
+ | <cfg> | ||
+ | <long_title>My title</long_title> | ||
+ | </cfg> | ||
+ | </pages> | ||
+ | </code> | ||
+ | |||
+ | if still not found then for | ||
+ | |||
+ | <code xml> | ||
+ | <page name='/'> | ||
+ | <cfg> | ||
+ | <title>My title</title> | ||
+ | </cfg> | ||
+ | </pages> | ||
+ | </code> | ||
+ | |||
+ | and if still not found then the domain Name (Without any extension) will be returned | ||
==== Example ==== | ==== Example ==== |