Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-04-05 10:51:21

Gallex
Member
Registered: 2006-10-08
Posts: 1,315

comments form not showing up

comments are allowed under preferences tab and comments options is ‘on’ in this article ,but comments form doesn’t show up .

my ‘comments_display form:

<h4 id="<txp:text item="comment" />"><txp:comments_invite textonly="1" showalways="1" showcount="0" /></h4>
<br />

<txp:rah_comments limit="2" sort="posted desc" wraptag="ul" break="li" class="vaatlused" pg_wraptag="ul" pg_break="li" pg_class="vaatlused-pagination" prepend="0" showalways="0" label_next=" &raquo; " label_prev=" &laquo; " />

<txp:if_comments_preview>
<div id="cpreview">
<txp:comments_preview />
</div>
</txp:if_comments_preview>

<txp:if_comments_allowed>
<txp:comments_form isize="25" msgcols="45" msgrows="10" />
<txp:else />
</txp:if_comments_allowed>

used comment_form form is default

Last edited by Gallex (2013-04-06 16:13:42)

Offline

#2 2013-04-05 13:55:30

Gallex
Member
Registered: 2006-10-08
Posts: 1,315

Re: comments form not showing up

any ideas where to look for?

Offline

#3 2013-04-05 16:10:35

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: comments form not showing up

Can’t see anything obvious wrong with the example code. Have you tried putting some placeholder text in here just to see if the tag is working, like so:

<txp:if_comments_allowed>
    <txp:comments_form isize="25" msgcols="45" msgrows="10" />
<txp:else />
    <p>COMMENTS DISABLED</p>
</txp:if_comments_allowed>

What do you then see? Might help narrow down the problem.

Offline

#4 2013-04-06 15:24:47

Gallex
Member
Registered: 2006-10-08
Posts: 1,315

Re: comments form not showing up

nothing changed. COMMENTS DISABLED text didn’t even appear

Offline

#5 2013-04-06 16:01:48

etc
Developer
Registered: 2010-11-11
Posts: 5,396
Website GitHub

Re: comments form not showing up

Check also Automatically append comments to articles? settings.

Offline

#6 2013-04-06 16:12:34

Gallex
Member
Registered: 2006-10-08
Posts: 1,315

Re: comments form not showing up

etc wrote:

Check also Automatically append comments to articles? settings.

that’s it! i knew, it has to be something obvious. thank you oleg!

Last edited by Gallex (2013-04-06 16:13:04)

Offline

Board footer

Powered by FluxBB