1169 Posts in 2694 Topics by 411 members
Page: 1 2
|Go to End||Next >|
11 February 2009 at 9:56pm
after upgrading to #rc3 I got a lot of those html comments within the source...
<!-- include ... --> <!-- end include -->
<!-- template ... --><!-- end template -->
How to remove this?
11 February 2009 at 10:02pm Last edited: 11 February 2009 10:03pm
Add:to mysite/_config.php or disable dev mode.
11 February 2009 at 10:09pm
Thanks a lot!
11 February 2009 at 10:13pm
Hm.. I tried to use SSViewer::set_source_file_comments(false); with no success. I also commented out
but those comments still resists. Any idea?
11 February 2009 at 10:15pm
Are you flushing your template cache by adding ?flush=all to the end of the URL?
11 February 2009 at 10:17pm
ah! I was so irritated about those comments i forgot to flush ;-) No comments any more ;-)
10 March 2009 at 10:56pm
It has just cost me 5 hours to see why a sliced html page (XHTML 1.1) implemented in SS templates went horribly wrong in IE and fine in Firefox. I couldn't find anything wrong in the html, couldn't see a difference in the css (html exactly identical to ss templates), I went through css and html line-by-line.... and yet divs were all over the place in ie....
It took a long long while before I figured out these comments were there and needed to turn off. Comments cannot be placed before the DOCTYPE declaration in HTML because it makes IE go into quirksmode and everything may go awry, see http://www.google.nl/search?q=html+placing+comments+before+doctype
Please, this "feature" really needs to be turned off by default in future releases, because this causes very unexpected behaviour.
Page: 1 2
|Go to Top||Next >|