Which templates are being used? (line templates)

Author Message

Christian Johansen

Wednesday 04 January 2006 1:34:27 pm

I'm having some headache trying to figure out which templates are being used sometimes... I turn on template debugging and it shows me all templates used, except for line templates.

I'm overriding the user registration template, and I started with a copy of the original. Somewhere in there it loops through all attributes and displays them like this:

{attribute_edit_gui attribute=$ContentObjectAttribute:item}

Is there a way to figure out which template is being used here? When it comes to the user account it starts displaying stuff like this:

User account
User ID:

113

Which I really don't like. But I can't override it if I don't know which template! I'm having the same problem figuring out which template to override for object relations in other templates as well. Any help is greatly appreciated.

Gurudutt Verma

Monday 09 January 2006 12:46:58 am

Hi!

Try following settings if this helps

[DebugSettings]
DebugOutput=enabled

[TemplateSettings]
ShowUsedTemplates=enabled

This will display all used templates in the debug output.

Christian Johansen

Monday 16 January 2006 7:12:33 am

Well, I tried those settings, but line templates are not output so I cannot figure out which ones are being used...

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