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
Templates [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

Templates

FIXME translate into a better english

Layout/Templates for articles and CPs (content parts):

The layout of articles and nearly all CPs is determined in each case by own templates. In the termplate folder we find appropriate template files. Please copy a main template into the right folder and rename it to your own.

Basic template at: (Don´t change this files) template/inc_default/*

Specific self made templates: template/inc_cntpart/[Article/CP-name]/*

Here you will find different files, in most cases again there are a basic templates.

  • Please copy/rename and store this basic template (or the one from template/inc_default/*) into this folder.

Importantly, otherwise the next update is crashing your template (overwritten with a standard template).

.

  • Now the Template can be adapted with your own conceptions.
  • At BE in articles or CPs this template emerges now in the selection list and can be selected. (After a browser refresh (F5) if the artcle/CP straight is in progress).


The contents of e.g. template/inc_cntpart/articlesummary/list/* correspond with the selection field [template: article listing] at - > ” edit article basis information” or e.g.

template/inc_cntpart/wysiwyg/* with the selection field ” template: in the CP ” WYSIWYG HTML”.

If there will be no basis at template/inc_cntpart/[Artilel/CP-Name]/* please copy/rename the file from template/inc_default/* and save it into template/inc_cntpart/[Artilel/CP name]/* by using another name.

In case your CP template is containing Sonderlauts like ä ö ü or similar ones you have to save it as utf-8 (guessing that your site is running with utf-8).
Otherwise you have to encode them like that: ä =⇒ ä

If CSS classes in the template do not exist in the CSS file of your choice (in template/inc_css/*) please simply create them. It is important that this CSS file is loaded in page template.

english/phpwcms-system/article/templates.txt · Last modified: 2010/03/17 06:37 by Knut Heermann (flip-flop)
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