Template tags are used in the template as follows:
<?php echo newsbox('News01');?>
Alternatively, a shorter notation is also possible:
<?=newsbox('News01');?>
The example shows the integration of the (hidden) CMSimple_XH page “News01” as newsbox at the place where this code is located in the template.
Function | Status | Description |
---|---|---|
content() | required | displays the content of the page(s) |
head() | required | generates tags to stylesheet, meta data and page title |
languagemenu() | recommended | provides links for multilingual pages |
lastupdate() | recommended | provides time/date of the last change |
li($hc,'menulevel') | optional | creates the navigation menu incl. submenus |
locator() | optional | creates the locator (breadcrumb navigation) |
loginlink() | recommended | displays the login link (if you are not already logged in) |
mailformlink() | optional | creates a link to the (standard) mail form |
newsbox() | additionally | returns the content of a hidden page |
nextpage() | optional | creates a link to the next page (in the page tree) |
onload() | required with CKEditor |
required in the body tag for the functions of the CKEditor – the TinyMCE does not need this call! |
pagename() | optional |
shows the content of the configuration variable is generated from the language variable |
previouspage() | optional | generates a link to the previous page |
printlink() | optional | creates a link for the print view |
searchbox() | optional | creates the search form |
sitename() | optional | shows the content of the language variable $tx['site']['title'] |
sitemaplink() | optional | provides a link to the Sitemap |
submenu() | optional | generates links to subpages (if available) |
toc() | required | creates the (standard) menu |
top() | optional | creates a link to the top of the page (#TOP) |
Function | Status | Description |
---|---|---|
editmenu() | obsolet |
deprecated; created the admin menu in admin mode in previous XH versions, |