Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
I can't get the submit button displaying on my comments form
I can’t get the submit button displaying on my comments form…
Bu, as you can see, I have it on my code. Am I doing something wrong?
comments_form code:
<code> <txp:comments_error /> <table cellpadding=“4” cellspacing=“0” border=“0”>
<tr> <td align=“right” valign=“top”> <txp:text item=“name” /> </td> <td valign=“top”> <txp:comment_name_input />
</td>
</tr>
<tr> <td align=“right” valign=“top”> <txp:text item=“email” /> </td> <td valign=“top” colspan=“2”> <txp:comment_email_input /> </td> </tr>
<tr> <td align=“right” valign=“top”> http:// </td> <td valign=“top” colspan=“2”> <txp:comment_web_input /> </td>
</tr>
<tr> <td valign=“top” align=“right”> <txp:text item=“message” /> </td> <td valign=“top” colspan=“2”> <txp:comment_message_input /> </td>
</tr>
<tr>
<td align=“right” valign=“top”>
<txp:comment_submit />
</td>
</tr>
</table></code>
Thanks
Offline
#2 2006-04-01 22:33:59
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: I can't get the submit button displaying on my comments form
You must have both comment_submit and comment_preview in your form. Textpattern never shows the submit button at first, only the preview button.
Offline
Re: I can't get the submit button displaying on my comments form
The problem is that even when I had the comment_preview on the form (origuinal form) it still just showed the preview button!
Offline
#4 2006-04-02 00:07:00
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: I can't get the submit button displaying on my comments form
Exactly. That’s what it is supposed to do: “Textpattern never shows the submit button at first, only the preview button.”
Hit preview on your comment form and see what happens.
Offline
Re: I can't get the submit button displaying on my comments form
Oh !!!! Your right !!! Thanks !
By the way…is there anyway of bypassing this preview, to make it show imediatly the submit button ?
…And, is there anyway of changing the text inside the “submit” ou “preview” button, as well as the “remember” one, and the “thank’s for posting..” frase ?
I just wanted to change these texts to my language…(maybe I should post this at the “how can i” seccion, but as I’m allready talking to you… 8-)
Thanks
Offline
Re: I can't get the submit button displaying on my comments form
<blockquote>By the way…is there anyway of bypassing this preview, to make it show imediatly the submit button ?</blockquote>
You would have to hack the source. The developers made a conscious choice to do this to combat comment spam.
And I can’t find it right now, but I know the submit, preview, etc. strings are hardcoded and you’d need to change them by hand. I’ll edit my post if I find what I’m looking for.
<em>See Mary’s post below.</em>
Last edited by Elenita (2006-04-04 01:47:36)
Offline
Re: I can't get the submit button displaying on my comments form
Thanks Elenita.
I guess that dealing with the code itself is noot for me…. 8-(
Do you think, although, that if I change the language at the “site preferences” at the “admin”, that will also change the language of the buttons text ?
Thanks again
camello
edit: I’ve took a look at the file txplib_misc.php . Unfortunatly I did not fond the submit or preview text so I could change it… Nice try anyway 8-)
Offline
#8 2006-04-03 17:19:14
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: I can't get the submit button displaying on my comments form
Language definitions are in the database, not in any file(s).
Offline
Re: I can't get the submit button displaying on my comments form
8-(
Thanks camello
Offline