Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
comment_remember's label
txp:comment_remember produces this code:
<input type=“checkbox” name=“remember” value=“1” id=“remember” class=“checkbox” /> <label for=“remember”>Remember</label> <input type=“hidden” name=“checkbox_type” value=“remember” />
Is there any way I can prevent it from including the <label> bit?
Offline
Re: comment_remember's label
Also, how do I specify which form (other than comment_form) should the comments_invite tag use?
There doesn’t seem to be such an attribute.
Offline
#3 2007-08-14 23:21:25
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: comment_remember's label
It looks like changing the label value for remember and forget would require hacking publish/comment.php between lines 165 and 180 (approx) , but I can’t say that Ive tried it to see how well that method works.
Offline
Re: comment_remember's label
Thanks rsiletti.
I figured the other bit out thanks to the book :)
I need to use:
<txp:comments />
<txp:if_comments_allowed>
<txp:comments_form form=“mycommentform” />
</txp:if_comments_allowed>
<txp:if_comments_disallowed>
</txp:if_comments_disallowed>
Last edited by lozmatic (2007-08-15 00:42:21)
Offline
Pages: 1