Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-16 05:54:00

eggnog
Member
From: Vancouver
Registered: 2008-03-10
Posts: 37
Website

Disabling comments for certain sections

Hi everyone,

I’m currently rebuilding my portfolio site. It has two primary functions; on the one side it will showcase my work and the other will consist of a blog. Because of the blog I obviously want commenting enabled. However, on the portfolio side this means commenting remains active, even when I’ve toggled it off on a per article basis (under more in the write panel). I can’t seem to rid myself of this bothersome notice below my articles in the portfolio section saying “Commenting is closed for this article.” See the problem in action here

How would I go about eliminating this notice? I haven’t included any commenting functions in the article form that calls portfolio content.

Any help is appreciated.

Geoff

Last edited by eggnog (2008-12-16 05:57:08)

Offline

#2 2008-12-16 07:36:51

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Disabling comments for certain sections

Try looking at your comments_display form. You might see that text in a conditional tag.

Offline

#3 2008-12-16 07:46:37

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Disabling comments for certain sections

Checked on TextBook, this is from the default comments_display form:

<txp:if_comments_allowed>
<txp:comments_form isize="25" msgcols="45" msgrows="15" />
<txp:else />
<p><txp:text item="comments_closed" /></p>
</txp:if_comments_allowed>

Offline

#4 2008-12-16 16:43:38

eggnog
Member
From: Vancouver
Registered: 2008-03-10
Posts: 37
Website

Re: Disabling comments for certain sections

Yup, that did the trick! I’m pretty new to TXP, so your help is greatly appreciated.

Offline

Board footer

Powered by FluxBB