Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-06 17:53:52

sharp
New Member
From: Malmö (Sweden)
Registered: 2006-02-01
Posts: 9
Website

Comment input + textarea is hidden; Why?

Hi everyone!

I’m trying to create a clean blog, and since I don’t fancy pop-ups I have worked with a simple JavaScript on my site.
Please check this URL (since it acctually has a comment, yay!).
Simply click feedback to write a comment, and – as you will see, no inupt fields are visible. And yes, since running
in debugging mode at the moment, the following is shown above site’s content:
<br />
<code>tag_error <txp:comment_name_input/> -> Textpattern Warning: unknown_tag
tag_error <txp:comment_email_input/> -> Textpattern Warning: unknown_tag
tag_error <txp:comment_web_input/> -> Textpattern Warning: unknown_tag
tag_error <txp:comment_message_input/> -> Textpattern Warning: unknown_tag
tag_error <txp:comment_preview/> -> Textpattern Warning: unknown_tag
tag_error <txp:comment_submit/> -> Textpattern Warning: unknown_tag</code>
<br />
And if anyone is interested, this is how my code looks like in the form editor (comment_form):
<br />
<code><txp:comments_error />
<label for=“name”>name:</label><br />
<txp:comment_name_input /><br />
<label for=“email”>mail:</label><br />
<txp:comment_email_input /><br />
<label for=“web”>www:</label><br />
<txp:comment_web_input /><br />
<label for=“message”>talk:</label><br />
<txp:comment_message_input />&nbsp;<br />
<txp:comments_help /><br />
<txp:comment_preview /><br />
<txp:comment_submit />&nbsp;<br /></code>
<br />
Anyone has a clue on how to solve this? Or know a thread that already did it? I sure did search for it, couldn’t find it though.
Please let me know if you need any more information from me about this.

Thanks!

Last edited by sharp (2006-04-06 18:02:56)

Offline

#2 2006-04-06 19:19:18

KurtRaschke
Plugin Author
Registered: 2004-05-16
Posts: 275

Re: Comment input + textarea is hidden; Why?

How are you displaying comment_form? With <txp:output_form />? That won’t work. Use <txp:comments_form /> instead.

If that’s not the case or if the problem remains unresolved, please post your tag trace.

-Kurt


kurt@kurtraschke.com

Offline

#3 2006-04-07 14:49:54

sharp
New Member
From: Malmö (Sweden)
Registered: 2006-02-01
Posts: 9
Website

Re: Comment input + textarea is hidden; Why?

That works pretty fine, thank you. Only one small thing though, it doesn’t (for some reason) work
on the main page (index, latest article, descending). Do you know why?

Thanks!

Offline

#4 2006-04-07 19:10:31

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Comment input + textarea is hidden; Why?

Comments and the comments form only show up on individual archive pages.

Offline

#5 2006-04-07 19:59:03

M_i
Member
Registered: 2006-03-05
Posts: 122

Re: Comment input + textarea is hidden; Why?

Mary wrote:

Comments and the comments form only show up on individual archive pages.

Actually, this post here explains how to put comments on the main page.

If that’s what you’re trying to do (if you’re indeed using <txp:output_form /> as KurtRaschke suggested), perhaps it’s better to ask for help there?

Offline

#6 2006-04-08 00:14:24

sharp
New Member
From: Malmö (Sweden)
Registered: 2006-02-01
Posts: 9
Website

Re: Comment input + textarea is hidden; Why?

Oh I forgot to put that down, I was using the <code><txp:output_form /></code> but switched to <code><txp:comments_form /></code>, as Kurt recommended.
Will the following help me with that, even if I’m not using the <code><txp:output_form /></code>?

<code><txp:if_article_list>
<txp:output_form form=“comments_display” />
</txp:if_article_list></code>

Yes? Well, good!
No? What to do then?

Thanks again.

Offline

Board footer

Powered by FluxBB