21277 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 957 Views |
-
Remove comments in page output?

25 April 2009 at 6:43am
When viewing the site and looking at the code, I see this all over:
<!-- end template C:/wamp/www/silverstripe/blog/templates/Layout/BlogHolder.ss -->how do I get rid of those?
-
Re: Remove comments in page output?

25 April 2009 at 9:51am
They are only shown when the site is in 'Dev' mode to help users with templating, take the site out of dev mode and they will disappear
-
Re: Remove comments in page output?

28 April 2009 at 1:01am
You can also put
SSViewer::set_source_file_comments(false);
in your _config.php file to turn those comments off.Ben
| 957 Views | ||
|
Page:
1
|
Go to Top |

