Path

ez.no / ezpublish / documentation / customization / tips & tricks / show which templates are used


Show which templates are used

These documentation pages are no longer maintained. Please visit the new documentation site.

You have to delete the cached files (you can do this from admin->setup) and make the following settings in settings/siteacces/YOURSITEACCESS/site.ini.php: Where YOURSITEACCESS usually is the usersite siteacces corporate, plain, forum etc..

[TemplateSettings]

Debug=enabled

TemplateCache=disabled

TemplateCompile=disabled

ShowXHTMLCode=enabled <-- disable this to get it as comments instead

 

[ContentSettings]

ViewCaching=disabled

 

[DebugSettings]

Debug=enabled

Comments

In 3.6+

In 3.6+ you can use the

ShowUsedTemplates=enabled

in [TemplateSettings].

This also tells you the requested template, in adition to which template that was loaded. Useful for debugging template override conditions from override.ini

http://ez.no/download/changelogs/...plate_usage_statistics_in_debug_mode

Contents

Customization

Access control
eZ publish API Documentation
Content structure
Custom design
Components
Tips & Tricks
    Debugging templates
    Javascript in templates
    Fetching current user
    Showing related objects
    Show which templates are used
    Fetching the ID of the parent
    One Article Folder
    Creating tree menus
    How can I use my own php script insid...
    Hiding attribute content
    Splitting an article over several pages
    Accessing section id in pagelayout
    List articles in folder
    Creating nice URLs
    Alt tag on images
    Improve the pagelayout.tpl
    Clean HTML tags
    Insert javascript call inside ezpub d...
    3rd party applications
    Fetch Function examples
    Display more than 15 items on your co...
    Including PHP files in templates
    Redirecting after content publishing
    HowTo see if article has an image
    Date and Time Formats
    Forms processing example: store user...
    Adjust Timezone
    Adding a Remove Button/Image
    Find the age in years for an object
    Editing, creating and removing conten...
    Indexing binary files with IFilters o...
Troubleshooting


Created

16/04/2003
8:53:40 pm
by Jan Borsodi

Last updated

23/02/2005
2:51:17 pm
by Kristian Hole

Authors

Jan Borsodi
Bård Farstad
Kristian Hole



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.