This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » Turning debug off for specific...

Turning debug off for specific layouts only

Turning debug off for specific layouts only

Wednesday 19 March 2014 6:43:21 pm


The debug targets the "<!--DEBUG_REPORT-->" comment if present. So by doing this for a json output layout should result in the debug being a giant js comment...


However if you use "Template debug" then the above fix is thrown out the window as a bunch of other html comments telling you when other tpls start and end are printed.. which is needed for the rest of the non json outputs..


Has anyone developed a tpl operator for ez4 that prevents debug from spitting anything out but then only as a temp measure.. so when you request a normal full page layout the debug is still on...

No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from