Maxime Bernard's blog

eZpublish: Don’t use the “ShowUsedTemplates” directive with IE !

Hi everyone,

It happened yesterday. My pagelayout completely failed in IE7 and I didn’t know why. I looked in IE8 debug toolbar. I read something about Quirks Mode. I let you look on Google about this but that what helped me find out what the problem was. 

They said Quirks Mode is a compability mode made for old versions of IE. The main issue was the <DOCTYPE> tag. If this tag was missing, it could completely break your design.

Then I looked my HTML source code and found this before my <DOCTYPE> tag:

<!— START: including template: extension/smiledesign/design/mercure/templates/pagelayout.tpl (design:pagelayout.tpl) —>

And that was the problem. 

I just set this in my site.ini.append.php:

ShowUsedTemplates=disabled

And everything was back to normal !

I hoped it will save your time :)


  1. maximebernard posted this
To Tumblr, Love PixelUnion