Forums / General / Beginners problem! Which template is used?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Beginners problem! Which template is used?

Author Message

Lasse Nordgulen

Monday 25 April 2005 3:13:16 pm

I have installed Exponential 3.5.1 and used the wizard to create a 'gallery' site. Then I set out to find out how the template hierarchy is set up and traversed during site accesses. I've bought the book 'Learing Exponential 3' and have perused it in my search for the answer. The book is pretty clear in that the 'pagelayout.tpl' is always called. As there is no 'pagelayout.tpl' file in the design/gallery/* catalogs I'm led to believe that the file found under design/standard is the one to be used. However, when changing that file manually there is no change to how the page is rendered in the browser (and yes, I have flushed the caches) So, then there is is the template override system which might play me a trick or two. But, I find no reference whatsoever to any override for the pagelayout.tpl template. Can someone please enlighten me as to which pagelayout.tpl file my 'gallery' site uses??

LA$$E

Monday 25 April 2005 3:25:26 pm

Hi,

Add these lines to your site.ini.append.php file.

[TemplateSettings]
# Use either enabled to see which template files are loaded or disabled to supress debug
Debug=enabled

Then clear your cache using this command:

# ./bin/shell/clearcache.sh --var-subdir=cache --clear-all

Voila, all the template names are visible.

More info about clearcache.sh :
http://ez.no/ez_publish/documentation/customization/troubleshooting/your_changes_not_take_effect_or_new_nodes_not_appearing_