PHP, HTML and JavaScript

You can write HTML- or JavaScript code in all templates. PHP code is possible (also in textareas in HTML mode) for administrative user with the highest userl level 05. Other users could try to write PHP code, but it will be ignored. PHP code written by user level 05 users can't be edited or deleted by users with a lower user level.

Please note that code for the BODY-Tag itself can only be inserted in the HTML menu item template, not in HTML document templates. Same applies for code for the HEAD tag.

PHP code is written as follows (also in textareas in HTML mode):

<cmexternal ID="PHP">PHP-Code</cmexternal>

User level below 05 can't see the code, but only empty cmexternal-Tags. These tags can't be modified or deleted by users of lower user levels.

If you program functionality in PHP, please keep in mind that conceptcms works with a cache for published documents (see Cache Administration). Depending on what exactly you are doing, you might need to control the cache from the code you are programming.