Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-12 15:54:24

mikae1
New Member
Registered: 2006-11-27
Posts: 8

How to get rid of "Commenting is closed for this article."?

I’m getting a “Commenting is closed for this article.” printed on all articles but the latest one.

It seems like this code:

<h3 id=“comment”></h3>

<p>Commenting is closed for this article.</p>

is automatically added at the end of the code generated by my <txp:article form=“latest” limit=“1” /> tag.

Any help appreciated…

Last edited by mikae1 (2007-01-12 15:55:15)

Offline

#2 2007-01-12 16:34:03

DigitalRealm
Member
From: Greenville, SC
Registered: 2006-07-22
Posts: 139
Website

Re: How to get rid of "Commenting is closed for this article."?

Under the admin tab, under preferences, change the time frame that is set for comments where it says “Disabled after” set that to never or any time frame that you want.

Offline

#3 2007-01-12 17:22:46

mikae1
New Member
Registered: 2006-11-27
Posts: 8

Re: How to get rid of "Commenting is closed for this article."?

It’s already set to “never” but I still get this message printed.

Offline

#4 2007-01-12 17:43:05

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: How to get rid of "Commenting is closed for this article."?

Try:

<txp:if_comments_allowed>
...your comment form, etc, etc
<txp:else />
</txp:if_comments_allowed>

La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#5 2007-01-12 22:39:44

mikae1
New Member
Registered: 2006-11-27
Posts: 8

Re: How to get rid of "Commenting is closed for this article."?

maniqui wrote:

Try:

<txp:if_comments_allowed>
...your comment form, etc, etc
<txp:else />
</txp:if_comments_allowed>

I think I forgot to say that I don’t want to use comments for my posts at all. I will not have a comments form.
I guess this wouldn’t be the best way around then?

Last edited by mikae1 (2007-01-12 22:42:00)

Offline

#6 2007-01-13 01:54:00

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

Re: How to get rid of "Commenting is closed for this article."?

I don’t want to use comments for my posts at all.

Simply go to your admin prefs, and you can turn them off completely.

Last edited by Mary (2007-01-13 01:54:07)

Offline

Board footer

Powered by FluxBB