Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Automatic numbering of XML text headers

*Original author: Bard Farstad

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/3.8/automatic_numbering_of_xml_text_headers.txt

*Title: Automatic numbering of XML text headers

*Original author: Bard Farstad

*Documentation:
A template variable {$header_number} is available in the 'header.tpl' file. It
can be used to automatically generate a link or a prefix to a specific header
item.
Very useful if you want to generate a TOC and have it link to the correct
place in the text.

It does not change the template but makes the template variable available.
For the first header it will have the value 1, the second will have 2. A sub
header under the second header will have 2_1 and so on.

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors