CMS help pages
  
You are here: Home > Developers > How to build templates > Comments

Comments

<c> . . . </c>

This tag enables you to put notes and instructions to the user within the template. These comments will appear in the design screen while not in preview mode.

Example: <c>Use this area to describe the prize draw</c>

You can wrap comment tags around other HTML and CMS tags.

Example:

<c>
Select image 1: <cms id=img1 type=imagesource><br>
Select image 2: <cms id=img2 type=imagesource><br>
</c>
<img src="<cms type=imagetarget id=img1>" width="200" height="150">
<img src="
<cms type=imagetarget id=img2>" width="200" height="150">

Designer's comments

<cd> ... </cd>

Anything within designer comment tags will only be seen by the designer. This allows you to set up your own content, without fear that the client will inadvertently mess things up.

Use this for 'technical' things which are rarely changed and may discombobulate the client.

Example:

...
<head>
<script type="text/javascript" src="
<cms type=filesource id=flash scope=all>">
</head>
...
...
<cd>
<div>
  Javascript file to render Flash:
  <cms type=filesource id=flash filter=".js" scope=all>
</div>
</cd>