Coded something up in Couch in an interesting way? Have a snippet or shortcode to share? Post it here for the community to benefit.
2 posts Page 1 of 1
So, probably, this is unknown to even MR. KK

Happy new year :D !

Usually, it is much hassle to comment out couch tags with
<cms:ignore>...</cms:ignore>

Next time you need to comment out fast use this contruction:
Code: Select all
<_cms:if>
works with any tag
<_cms:{your tag} >

So this is just making your code uncluttered with ignores.
The next thing is with closing pair of tags:
Code: Select all
<_cms:pages>
<_/cms:pages>

Make note, that outputs like <cms:embed, show etc.. need to be commented out also as html text comments, prevent output on the frontend as text:
Code: Select all
<!-- <_cms:show .. /> -->

Let me know if I saved you a moment with this true hack, never mentioned on this forum for 3+ years.
:mrgreen:
The problem with implementation is that tags stay in html output as text.

universal solution (2in1):

Uppercase on cms, like that:
Code: Select all
<CMS:embed 'code.html' />


This way no traces left, no need to comment out code.

NNNNNICE ONE :)
2 posts Page 1 of 1

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 2 guests

cron