Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Just thought I'd mention this : I commented out a Couch editable region (using <!-- -->), refreshed the template when logged in as super-admin and visited the admin panel to delete the region from the template. After a bit of trying and failing I realised that Couch didn't recognise that the code was commented out - it actually needed to be deleted.

Not really a problem - but it might save time for someone else if they read this.
Hi,

The <!-- --> style comments are meant only for the HTML parser.
For Couch's parser to recognize some piece of code as being commented out, we need to use cms:ignore tag e.g.
Code: Select all
<cms:ignore>
..everything enclosed will not be parsed by Couch
</cms:ignore>

Hope this helps.
Hadn't registered that Couch tag yet - that is a very useful thing to know - thanks!
3 posts Page 1 of 1