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.

All other Modules

Discuss all other Modules here.

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

Form Module (html comment issue)


Reply

3 Posts   930 Views

Avatar
martin_w

20 April 2010 at 9:00pm (Last edited: 20 April 2010 9:04pm), Community Member, 28 Posts

Hello guys!

I've been searching for a long time now, but i didn't solve my problem yet.

The thing is, although I set off the "dev" mode, there are still html comments in my code because of the form module.
Comments like this:
<!-- template /var/www/.../.../httpdocs/sapphire/templates/Includes/Form.ss -->

I don't wan't this comments in my code.
How can I set them off?

I also tried
"SSViewer::set_source_file_comments(false);"
but it didn't work.

I really hope someone can help me how to solve my issue.

thanks a lot, martin

Avatar
3dgoo

21 April 2010 at 1:56pm Community Member, 133 Posts

Putting this in my _config.php file and then flushing the page with ?flush=all worked for me:

SSViewer::set_source_file_comments(false);

If this isn't working for you, you could always try removing localhost and 127.0.0.1 from the dev_servers list

Avatar
martin_w

21 April 2010 at 7:57pm Community Member, 28 Posts

hello, big thanks!!.. it works

the key was the "?flush=all".