Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-02-08 07:34:53
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
How to add comment notes to my self in the page and form files
Hello,
I’m wondering if there’s an easy way to add comments so I can document what my code is doing.
I suppose I could use php comments:
<txp:php> /* my notes */ </txp:php>
It seems like there should be an easier method. Is there?
I realize that I could use HTML comments:
<!-- my notes //-->
But I’d rather not have the comments appear in the final code which is sent to the browser.
Offline
Re: How to add comment notes to my self in the page and form files
<txp:hide>this does stuff</txp:hide>
Offline
#3 2008-02-08 08:29:12
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: How to add comment notes to my self in the page and form files
Thanks, JM, that’s perfect!
Offline