Несколько тегов, разделённых запятой, означают логическое И между ними. Вы также можете использовать точку с запятой в качестве логического ИЛИ. И имеет высший приоритет над ИЛИ. Вы не можете использовать скобки для группировки условий. Звёздочка (*) внутри тега используется в качестве маски для "подстроки".
Разделы: Documentation / Extending Cotonti / Extensions
A hook is an entry point within a script where plugins can be executed to modify script's behavior. You can also treat it as an event which can be handled by third-party code. Cotonti literally includes PHP files registered as handlers for a specific hook. Imagine a script that has a hook in it:
$foo = 'The Lord of Foo'; $bar = 'hit the bar!'; // ... // A HOOK is here // ... echo "$foo $bar";
Then consider there is a handler for that hook which can access any variables...
Разделы: 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...
Разделы: Documentation / Administration
You have probably read about updates in Cotonti and know how to update the system in general. This article describes extension updates in detail. The word 'extension' means both 'module' and 'plugin' as a more general term in Cotonti.
There are 2 cases when extensions are updated:
Разделы: Extensions / Mobile & Geolocation
Cotonti Mobile provides website administrators with the necessary tools to establish a theme suited for mobile devices. Often mobile viewers see an extremely large, and ugly looking website, but with Cotonti Mobile it will display a separate theme exemplifying cotonti's major features in a fashionable way.
Live Preview:
http://aliendesigns.org/cotmobile/preview/
Features