Einige durch Komma getrennte Tags werden mit logischem AND zwischen ihnen behandelt. Du kannst auch das Semikolon als logischen OR-Interpreter benutzen. AND hat Priorität über OR und du kannst keine Einklammerungen für logische Gruppierungen nutzen. Stern (*) wird als Maske für "Jede Zeichenkette" genutzt.
Sektionen: Extensions / Navigation & Structure
This plugins enables you to place Tag Cloud in any template file. Just use {PHP.out.tagcloud} variable to use it anywhere you want.
NB: The generated cloud falls under the configuration set for the index tag cloud.
Sektionen: Documentation / Extending Cotonti / Extensions
Most Cotonti scripts run in the global scope as it is historically built this way. Some variables are common enough to be seen in many places around the code. This article covers the most important globals.
Note: this guide comes handy for theme developers as well. You can use any of these global variables as global template tags as well. Just remember the CoTemplate syntax. E.g. $usr['profile']['user_avatar'] in a template becomes {PHP.usr.profile.user_avatar}.
There are some...
Sektionen: Extensions / Customization & I18n
Plugin for Cotonti CMF. It allow to use tpl TAGs and function calls in menuslots.
Cotonti have a predefined custom tags that admin can use in templates. Content of these tags called «menu slots» can be altered via administration web interface. As a default, menu slots allow to use only simple html text. With this extension you can use common TPL tags and function calls like in TPL files.
Sektionen: Documentation / Extending Cotonti / Themes
This document covers features, statements and their syntax supported by CoTemplate v.2.7 and later.
Blocks are the largest elements in the template's structure. Templates consist of blocks, blocks consist of other blocks, statements, tags and raw text. Here is the block syntax:
<!-- BEGIN: BLOCK_NAME --> Block HTML contents here <!-- END: BLOCK_NAME -->
Most templates have one root-level block named MAIN, but multiple root-level blocks in one template file are allowed. HTML...
Sektionen: Documentation / Extending Cotonti / Themes
Since Cotonti 0.9.1 a new set of debugging facilities is available to template designers.
The first one is block/tags listing mode. It outputs a plain tree of blocks and assigned tags in them for the current page. Example:
To get such a debug page, you need to make sure debug_mode is enabled for your Cotonti instance first. Open datas/config.php and make sure you have debug_mode enabled:
$cfg['debug_mode'] = TRUE;
Then you can see a TPL dump of any page by simply appending tpl_debug=1...