Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-14 22:16:05

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

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

#2 2007-08-14 22:57:55

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

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

#4 2007-08-15 00:39:46

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

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

Board footer

Powered by FluxBB