Forums / Setup & design / Quiet debug mode ?
Fabrice Girardot
Wednesday 27 October 2004 1:15:30 am
Hi all,
I wonder if there are a possibility to turn the debugging mode for templates
[TemplateSettings] Debug=enabled
in a "Quiet" mode, with only templates info in xhtml comments
<!-- START: including template: design/....../ezimage.tpl (design:content/datatype/view/ezimage.tpl) -->
and with no output like
<p class="small">design/standard/templates/content/datatype/view/ezimage.tpl</p><br />
Should I edit the debugging template (witch one?) and just write something like :
<p class="debug_hide">design/standard/templates/content/datatype/view/ezimage.tpl</p><brclass="debug_hide" />
Any ideas ?
-- Fabrice
Jan Borsodi
Wednesday 27 October 2004 4:16:52 am
This should do the trick.
[TemplateSettings] ShowXHTMLCode=disabled
Note: Requires eZ publish 3.4 or higher.
-- Amos Documentation: http://ez.no/ez_publish/documentation FAQ: http://ez.no/ez_publish/documentation/faq
Wednesday 27 October 2004 5:13:09 am
thank you, it works...
BUT! yes there is a "but" : I don't know why, it breaks my design, maybe a </div> tag somewhere. Strange.To be followed ;)
Wednesday 27 October 2004 7:07:39 am
I find the problem : the xhtml comment closed tag <b>--></b> doesn't exist ! I am currently runnuing eZ Publish 3.4.1
Can I try 3.5 beta ? Or should I wait ?