Replacer (RTs)

Replacement Tags (RTs) are control elements that can be used to simplify web design on many places. They can be used in the web site or content part templates, headlines or through text passages. RTs help to simplify many tasks, like creating links, navigations or information outputs. In the phpwcms standard installations there are already many RTs beside the custom RTs described in this section. The standard RTs are listet at http://www.phpwcms-docu.de/replacement_tags_en.phtml.

The syntax of a RT is usually related to its use. You can find curly bracketed function RTs like {FUNCTION_TAG} or square bracketed start and end tag RTs like[EXAMPLE_RT]something in between[/EXAMPLE_RT]. Curly bracket expressions like {FUNCTION_TAG} usually dynamically {create content}. Examples from the standard installation are {BREADCRUMB}, {DATE_ARTICLE} or {NAV_TABLE_COLUMN}. The markup type RTs [modify content] that is placed between the start and the end element. Examples from the standard installation are [MAIL eMail_Adresse] Text [/MAIL], [ID alias] Text [/ID] oder [EXT url] Text [/EXT]

Important

For security reasons each file within these folders should contain the following sequence at the beginning:

<?php
// ----------------------------------------------------------------
// obligate check for phpwcms constants
if (!defined('PHPWCMS_ROOT')) {
   die("You Cannot Access This Script Directly, Have a Nice Day."); }
// ----------------------------------------------------------------
...
...


Short link overview

english/phpwcms_replacer_rts.txt · Last modified: 2012/09/07 00:52 by Thomas Blenkers
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0