Author Topic

Gaetano Giunta

Tuesday 28 July 2009 1:48:33 am

Comment51501

Another option to 'hide' the debug output from some pages even when this is added by eZP (ie. debug mode on) is to simply put it in a comment.

At the bottom of the pagelayout put:

For xml/html:

<!-- <!--DEBUG_REPORT--> -->

For js/json/ajax content:

/* <!--DEBUG_REPORT--> */

Note: the debug report always prints html, not xml, so it it might break your xml because of invalid entities.

Principal Consultant International Business
Member of the Community Project Board