Published by Mijingo

tips icon image

EE Insider Tips
Sponsored by Mijingo's EE 2 Screencasts

ExpressionEngine mini-howtos created by the EE Insider community.

Use private comments in your templates

User's avatar
  • Posted by johnniefp
  • June 01, 2009
  • 2 people have found this tip helpful.

We all put comments in all of our code don’t we… no, ah well.

I’m sure your familiar with the <!—comment—> structure in HTML but what if you wanted your comments in your template to not be in the source of your HTML.

Start using the EE comment tag:
{!-- this comment will not end up in your source code --}

Add Your Comment?

You must have an EE Insider account to post comments on Insider Tips. It's fast, easy and hassle-free.

Sign up now (or login).

Search EE Insider Tips
Sponsored By