Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Basic question - how to comment pages and form code
Is there any way to insert comments into textpattern forms and pages that won’t be output in the html? Right now I’m using html comments like <!— if category is defined —> but I’d rather not have them present in the html, since they actually apply to the txp code.
Offline
#2 2009-03-27 15:16:42
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Basic question - how to comment pages and form code
nabrown78 wrote:
Is there any way to insert comments into textpattern forms and pages that won’t be output in the html? Right now I’m using html comments like <!— if category is defined —> but I’d rather not have them present in the html, since they actually apply to the txp code.
<txp:hide> your comment here </txp:hide>
Offline
Re: Basic question - how to comment pages and form code
Aha! Thanks redbot.
Offline