[3.4beta1] how can I debug templates that get included when calling tool_bar?

Author Message

Chris Fullerton

Thursday 13 May 2004 6:53:57 am

I'm playing around with the new toolbar functionality, and have it "mostly" working, but I can't find a way to tell which templates are being included.

Inder 3.3.4, I'd change two settings in siteaccess/SITENAME/site.ini.append:

[TemplateSettings]
Debug=disabled
#Debug=enabled

[DebugSettings]
DebugOutput=disabled
#DebugOutput=enabled

and each included template would show up.

Now, when I add the following to override/site.ini.append:

[TemplateSettings]
Debug=enabled

I get HTML comments that show which templates get included, but it seems to be missing some of them - tool items are wrapped in a <div class=toolbar-item> and I can't find out where that's coming from!

Willie Seabrook

Friday 14 May 2004 11:28:38 pm

Hi Chris,

Have a look in debug.ini... there *might* be some more settings in there.

You could also do a recursive fgrep from the design folder downwards to find the file with div class=toolbar-item in it.

Sometimes with ezPublish I find manual ways on the command line that are far faster.

;-)

Regards,
Willie

Chris Fullerton

Saturday 15 May 2004 9:04:50 am

It turns out this code was coming from a php module, not a template. I filed a bug about it.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.