User Tools

Site Tools


en:public:developer:template_system:tags:pagescfg:page_id

<#page_id>

This tag gives the id of the current page

Cfgpages configuration

The page ID is taken from the cfgpages. if for exemple the cfgpages contain the nodes

  <page name='/'>
    <page name='real-estate'>  
      <page name='residential'>  
        <page name='holiday-rentals' />
      </page>
    </page>
  </page>

if the current page name is the node holiday-rentals then result of <#page_id> will be /real-estate/residential/holiday-rentals/

Example

<#page_id>
en/public/developer/template_system/tags/pagescfg/page_id.txt · Last modified: 2015/09/07 18:07 by svanderclock