CONTENIDO provides some helpful settings to quickly find bugs in frontend modules. You can activate those features in the config.php of your client.
This is the relevant section of the config.php:
These settings will only output HTML comments in your website. Activating them is generally without any consequences for visitors, however it can happen that these will output comments in places where they don't belong (for example inside the title tag).
All of these settings are boolean.
If the "general_information" flag is turned on, CONTENIDO will output some informations about the viewed webpage as HTML comments at the beginning of the page. They look similar to this:
You get a quick look at the variables that CONTENIDO used to generate this page.
The "container_display" flag enables the output of markers at the beginning and at the end of containers.
This flag enables markers at the beginning and at the end of module output:
This flag can only be enabled if "module_display" is enabled, too. If enabled, CONTENIDO will time how long one module takes to generate its output. This is extremely helpful to find modules that slow down the website:
CONTENDIO will output the time (in seconds) the module needed in the END MODULE comment.
If this flag is turned on, CONTENIDO will output an HTML comment whenever a template is used. It does not matter if it's a Smarty template or a cTemplate. The output looks something like this:
The name in the comments is the one the module used to find it. Together with the "module_display" tag you can easily figure out which part of the website came from which file on the server.
Force Code Generation
The last variable in the config.php is used to make CONTENIDO ignore its code cache. This is useful if you want to edit your modules outside of CONTENIDO and want to get immediate results without having to go into the backend and clear the cache yourself.