<< Click to Display Table of Contents >> Navigation: Templates > Static pages |
Displaying of this section can be configured in static.tpl or in the file that you'll assign when creating the static page in Administration Panel. Overall statistics is configured on this page.
{description} - Description of the static page.
{static} - Text of the static page.
{pages} - Navigation of the static page if there are few pages in it.
{views} - Views number of the static page.
{custom} - Refer to "Displaying news on pages".
{text limit="x"} displays the text of the static page, without HTML formatting. Thus, the publication text is limited by X number of symbols.
{image-x} displays URL of the image, located in the text of the static page, where "x" is the number of pictures in the text of the page.
[image-x] text [/image-x] display the enclosed text only if the picture with the number "x" is present in the text of the page.
[print-link] text [/print-link] - Link to the printable version.
{date} - Date of the page creation in a format set in script settings.
{date=date fromat} - Displays the date in the specified format. It allows you to display both the full date and its separate parts. The date format is set in accordance with the PHP format. For example, {date=d} tag displays the day of the article or comment publication, and {date=F} tag displays the name of the month. {date=d-m-Y H:i} displays the full date and time.
[edit] text [/edit] displays the enclosed text as a link to edit the static page for user groups who are allowed to edit static pages.
[static=page name] text [/static] - Displays the enclosed text if user is viewing the static page with a specified name.
[not-static=page name] text [/not-static] - Displays the enclosed text if user does not view the static page with a specified name.
{full-link} Displays the URL for this static page
{print-link} Displays the URL of the printable version for this pag
Tags for banners and RSS informers are also supported in this template.