Help - Search - Members - Calendar
Full Version: How To Comment My Template Code?
Movable Type Community Forum > Using Movable Type > Templates and Tags
blog-coding-is-fun
How do you comment MovableType code?

Obviously, I can use <!-- HTML comments --> but I'd prefer these comments be visible only to people looking at the template code, not at the interpreted HTML source code.

I've found it difficult to search the documentation about this b/c of course all the pages about blog commenting appear.

thanks!
OtherNiceMan
You can use <mt:Ignore> http://www.movabletype.org/documentation/a...ags/ignore.html
blog-coding-is-fun
QUOTE (OtherNiceMan @ Jan 17 2009, 12:23 PM) *


Works well! I found I could also give it a value:
<mt:ignore value="This isn't working; we always get the default" />

(only then I finally noticed the mistake, so you helped me no longer need this comment!)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.