Strict Standards: Declaration of action_plugin_dlcount::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/dlcount/action.php on line 14

Strict Standards: Declaration of action_plugin_indexmenu::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/indexmenu/action.php on line 169

Strict Standards: Declaration of action_plugin_ipban::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/ipban/action.php on line 67

Strict Standards: Declaration of action_plugin_loglog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/loglog/action.php on line 82

Strict Standards: Declaration of action_plugin_navi::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/navi/action.php on line 46

Strict Standards: Declaration of action_plugin_uparrow::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/uparrow/action.php on line 69

Strict Standards: Declaration of action_plugin_userspagecreate::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/userspagecreate/action.php on line 97

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /home/www/wiki/inc/cache.php on line 289

Warning: Cannot modify header information - headers already sent by (output started at /home/www/wiki/lib/plugins/dlcount/action.php:14) in /home/www/wiki/inc/auth.php on line 312

Strict Standards: Only variables should be passed by reference in /home/www/wiki/doku.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /home/www/wiki/lib/plugins/dlcount/action.php:14) in /home/www/wiki/inc/actions.php on line 154
Tags in the template [phpwcms-HowTo:wiki]

Strict Standards: Declaration of syntax_plugin_code::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /home/www/wiki/lib/plugins/code/syntax.php on line 41

Strict Standards: Declaration of syntax_plugin_tip::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /home/www/wiki/lib/plugins/tip/syntax.php on line 38

Tags in the template

Here are presented a number of tags that can be used in the template.


Printing ranges determination:

Tags: <!--NO_PRINT_END//--> and <!--NO_PRINT_START//-->

Using the tags <!--NO_PRINT_END//--> and <!--NO_PRINT_START//--> ranges of the side are released or closed for printing.

<!--NO_PRINT_START//-->
<div class="header">
  {HEADER}
</div>
<div class="col1"><!-- Column 1 start -->
<!--NO_PRINT_END//-->
  {CONTENT_ABOVE}{BACK_BUTTON}{CONTENT}{CONTENT_BELOW}
<!--NO_PRINT_START//-->
</div>
<div class="footer">
  {FOOTER}
</div>
<!--NO_PRINT_END//-->

The ranges HEADERS and FOOTER would be excluded from the expression.


Search Result Highlighting

Tags: <!--SEARCH_HIGHLIGHT_START//--> and <!--SEARCH_HIGHLIGHT_END//-->

This is very easy:
Imaging your template:

<div class="col1"><!-- Column 1 start -->
<!--NO_PRINT_END//--><!--SEARCH_HIGHLIGHT_START//-->
{CONTENT_ABOVE}{BACK_BUTTON}{CONTENT}{CONTENT_BELOW}
<!--SEARCH_HIGHLIGHT_END//--><!--NO_PRINT_START//-->
</div>

Now you will get the search results highlighted even within the resulting pages - WOW - and not at the results page itself only


Affect the output of articles:

Article-list mode:

Tags: <!--IF_LIST_MODE_START//--> and <!--IF_LIST_MODE_END//-->

<!--IF_LIST_MODE_START//-->
--> will be shown when in article listing mode
--> everything wrapped in ELSE_LIST_MODE will be deleted
<!--IF_LIST_MODE_END//-->


Article-detail mode:

Tags: <!--ELSE_LIST_MODE_START//--> and <!--ELSE_LIST_MODE_END//-->

<!--ELSE_LIST_MODE_START//-->
--> will be shown when in article detail mode
--> everything wrapped in IF_LIST_MODE will be deleted
<!--ELSE_LIST_MODE_END//-->


english/phpwcms-system/admin/template/tags.txt · Last modified: 2010/08/14 14:59 by Claus
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

Strict Standards: Only variables should be passed by reference in /home/www/wiki/doku.php on line 79