User Tools

Site Tools


en:public:developer:template_system:tags:headelement:meta_title

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:public:developer:template_system:tags:headelement:meta_title [2013/03/02 15:51]
admin [Cfgpages configuration]
en:public:developer:template_system:tags:headelement:meta_title [2013/03/02 18:23] (current)
admin
Line 18: Line 18:
 </code> </code>
  
-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 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 ====
en/public/developer/template_system/tags/headelement/meta_title.1362225095.txt.gz · Last modified: 2013/03/02 15:51 by admin