A page template is a PHP file whose content conforms to the rules of forming the page structure. Page templates can be used when creating a new page in the module Site Explorer.
Page templates are stored in the following folders:
Each of these folders may contain page template files and a service file .content.php
whose main task is to store the descriptions and of page template sort order.
This information is stored in the array $TEMPLATES, whose structure is
presented below:
Array
(
[file name] => Array
(
[name] => page template title
[sort] => sort weight
)
)
When building the list of page templates, the following algorithm is used.
| © 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |