Writing a comment for backend users only


(Serge) #1

Is there a way to put a comment in the code (like in a display format) for backend users to see that will not get seen in the html output?


(Bart Banda) #2

Yep, in both Design parse files and content containers you can use the following format to add backend only comments:

<!--@@ Comment here.... @@-->

https://matrix.squiz.net/manuals/designs/chapters/design-asset#Edit-Parse-File-Screen


(Tbaatar) #3

I was thinking how good it will to add back end comment in the details view of the actual assets, similar to Triggers or Form fields description field. I can see it being useful for knowing what the asset does at a glance at micro level.

Of course this can be done with Metadata, but since this feature existing it will be good idea to roll it out to all assets.