Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-07 00:51:36

Hans
Member
From: Everywhere
Registered: 2004-03-07
Posts: 99
Website

...fix an apparent problem with if_comments_allowed?

I’ve been tweaking a testbed site for a few hours and suddenly I can’t view individual articles. I’ve noticed, however, that I can still view articles that have comments disabled. Could this have something to do with if_comments_allowed?

The contents of my comments_display form (of type article) are below.

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

<txp:comments />

<txp:if_comments_preview>
<div id="cpreview">
<ol class="comments">
<li>
<txp:comments_preview />
</div>
</li>
</ol>
</txp:if_comments_preview>

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

Lumilux – A Photoblog

Offline

#2 2008-07-07 01:24:33

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: ...fix an apparent problem with if_comments_allowed?

Can you post a tag trace?

Offline

#3 2008-07-07 03:19:41

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: ...fix an apparent problem with if_comments_allowed?

try disabling/clearing the comment blacklist in your admin prefs

Offline

#4 2008-07-07 09:48:15

Hans
Member
From: Everywhere
Registered: 2004-03-07
Posts: 99
Website

Re: ...fix an apparent problem with if_comments_allowed?

Thank you, iblastoff, that did it!
Nothing good has ever come from the blacklist…


Lumilux – A Photoblog

Offline

Board footer

Powered by FluxBB