Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Re: Disabling comments for certain sections
Try looking at your comments_display form. You might see that text in a conditional tag.
Offline
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
Re: Disabling comments for certain sections
Yup, that did the trick! I’m pretty new to TXP, so your help is greatly appreciated.
Offline