Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

[SOLVED] 2.4 without template path into final HTML in debug mode


Reply


5 Posts   1126 Views

Avatar
biapar

Forum Moderator, 435 Posts

30 June 2010 at 1:07am

Edited: 02/07/2010 7:41pm

Hi,

I'm developping a Web site with 2.4v.
The site is in debug mode.
Before 2.4v, there are template paths into HTML final source code, but this feature there is no more in 2.4v.
Why? or I've miss config...

Avatar
Willr

Forum Moderator, 5513 Posts

30 June 2010 at 1:54pm

Its been turned off by default. You can turn in on with this in your _config file - SSViewer::set_source_file_comments(true);

Avatar
biapar

Forum Moderator, 435 Posts

30 June 2010 at 8:59pm

ok...good info...

Avatar
biapar

Forum Moderator, 435 Posts

30 June 2010 at 9:00pm

Edited: 30/06/2010 9:05pm

I add that line into myconfig, but I don't see any comments...

PS:
Is it write somewhere into doc?

Avatar
mkval

Community Member, 3 Posts

22 August 2010 at 6:33am

I think you need to append this at the end of your URL:

http://your-domain/?flush=1