Кілька тегів, розділених комою, означають логічне І між ними. Ви також можете використовувати крапку з комою в якості логічного АБО. І має вищий пріоритет над АБО. Ви не можете використовувати дужки для угруповання умов. Зірочка (*) всередині тега використовується як маска для "підрядка".
Розділи: Documentation / Developer Guide
For most of us debugging sounds somewhat scary or whatsoever we wouldn't like to do. But in fact you could easily turn it into a hunt game, it's just a matter of a weapon you choose. You could look through all your code with a microscope, you could try hitting it with a stick blindfold but in XXI century they have something else to do that.
An ultimate solution would be using a special PHP debugger like XDebug. Here some tutorials for using XDebug with powerful IDEs:
Розділи: 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...
Розділи: Форуми / National / Russian / Тех. поддержка