Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-30 00:31:42

Roberto
New Member
Registered: 2005-10-22
Posts: 3

Comment form don't show up

Hi there.
Any help will be really appreciated.
I have problems in my individual article display: the comments r good, but the comment form it’s not there.
I check for ‘allow comments’, and i check the settings in the article (it’s allow comments too). It’s funny, but all was working last nigth, but today i have this problem.
I search the forum, the ‘book’, with google, but nothing report something like this (i guess, my english sucks =}).
By the way, this the 4.01 version.

This is my tag trace in the problem page, and this is the result:
<code>
<!— Runtime: 0,2920 —>
<!— Queries: 23 —>
<!— Memory: no info available —>
<!— txp tag trace:
<txp:page_title />
<txp:related_articles limit=“10” break=“li” wraptag=“ul” />
<txp:recent_articles limit=“10” break=“li” wraptag=“ul” sortby=“Posted” sortdir=“desc” />
<txp:article form=“single_article” limit=“1”/>
<txp:permlink><txp:title /></txp:permlink>
<txp:title />
<txp:posted />
<txp:excerpt />
<txp:body />
<txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
<txp:prev_title />
<txp:link_to_next><txp:next_title /></txp:link_to_next>
<txp:comments />
<txp:comment_name />
<txp:comment_permlink><txp:comment_time /></txp:comment_permlink>
<txp:comment_time />
<txp:message />
<txp:comments_form /> —>
</code>

In my page for my individual article i have this (i show only the ‘comments’ code):

<code>
<!— comienza comentarios dentro de columna ppal—>
<div id=“comments”>
<h4 id=“headline-comments”>Comentarios</h4> <txp:comments />
</div>
<!— Terminan comentarios —>
<!—Termina main —> </div>
<!— Deco —> <div id=“deco”> <hr /> </div>
<!— Termina deco —>
<!— Comienza container para form —> <div id=“container”> <txp:comments_form />
<!— empieza footer —>
</code>

And my form for my ‘comments_display’ is (the ‘comment_form’ is the default):
<code>
<txp:comments />
<txp:if_comments_allowed>
<txp:comments_form />
</txp:if_comments_allowed>

</code>

I’m considering to re-install cause this is a really annoying problem. Any suggestion in that direction will be appreciated too.

Thanks in advance!

Last edited by Roberto (2005-10-30 00:35:12)

Offline

#2 2005-10-30 03:56:27

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Comment form don't show up

You can’t change the <code><txp:comment_form /></code> tag like that. It’s fixed. If you want to use a different form use <code><txp:output_form form=“comments_form” /></code> instead.

Also, though not necessary, you could put your “h4” at the top of the comments_display form instead of in your page template.

Last edited by thebombsite (2005-10-30 03:58:18)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2005-10-30 05:32:49

Roberto
New Member
Registered: 2005-10-22
Posts: 3

Re: Comment form don't show up

Thanks for your help.

thebombsite wrote:
You can’t change the <code><txp:comment_form /></code> tag like that. It’s fixed.

What do u mean with ‘change’ and ‘it’s fixed? The tag should be in other place? By the way, it’s <code><txp:comment_form /></code> or <code><txp:comments_form /></code>?
I’m totally new with TXP (i came from WP) and i’m spanish guy, so, some things r difficult to understand.

Also, though not necessary, you could put your “h4” at the top of the comments_display form instead of in your page template.

I make the change that u suggest, and the headline it’s gone ={
Another funny thing is that in frontpage of my site, the date of the posts appears in the format ‘since’ (in Spanish) and in the individual page it appears with the format ‘ day/month/year/’ (in English) :S

I think that the best solution will be to begin from the scratch: erase TXP, the tables and reinstall everything.

Offline

#4 2005-10-30 05:43:29

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

Re: Comment form don't show up

Roberto, no need to reinstall everything. You’re misunderstanding how to customize your forms, that’s all.

Remove anything mentioning comments, that you added yourself, from your page AND from the form “default”. Instead, make your comments_display look like this:

bc..<div id=“comments”>
<h4 id=“headline-comments”>Comentarios</h4>

<txp:comments />
</div>

<txp:if_comments_allowed>
<div id=“container”>
<txp:comments_form />
</txp:if_comments_allowed>


Customize your date formats in the admin preferences.

Offline

#5 2005-10-30 06:15:07

Roberto
New Member
Registered: 2005-10-22
Posts: 3

Re: Comment form don't show up

Ok. First, thanks for your help, Mary.
Well i do what u suggest, and the comment form don’t appear.
Then, i try something else. I change all the forms to default, i double check in admin>preference for ‘allow comments’, i made the same thing with the ‘article’ itself, check for ‘allow comments’.

The page show the same problem: no comment form.

I went to admin>preference again and turning on the ‘Automatically append comments to articles?’, and nothing good happen :(

Finally, i upload comment.php to the ‘Publish’ folder via ftp (just in case 8}) and…well…nothing happen.

I really appreciate the support here but, maybe TXP just hate me :}

Offline

Board footer

Powered by FluxBB