Wednesday 29 August 2007 2:26:11 am
Hi Jacques, I've been running into a similar problem recently: If you look at the generated code, you'll notice that eZ Publish includes comments like <!-- START: including template: $path ($uri) --> into the generated code when using the 'list of used templates' debug option. The problem is that when the template itself is a pagelayout (like in your case), this comment gets included BEFORE the Doctype header of your html code. And if you happen to use Internet Explorer, the parser gets wrong because of that comment. To work around your problem:
either switch off the "list of used templates" option during debug,
or... use a better browser I hope this solves your problem. I filed a low priority bug on this: http://issues.ez.no/IssueView.php?Id=11317& although one can discuss for sure if it is legal or not to have HTML comments before the doctype statement. At least Firefox does accept it, and in general they are much closer to the standard than IE. Pascal
|