Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-01 15:35:35

matt7530
Member
Registered: 2004-11-01
Posts: 23
Website

Stop comments on a specific article form

I’ve noticed that comments display for all of my article forms, regardless of whether I use the ‘comments invite’ tag or not. There are a few special locations where I’d like to display an article w/o an invite; even though in it’s normal location (using a different form), it should have an invite.

Can anyone shed some light on this behavior? Thanks!

Offline

#2 2006-01-01 15:43:08

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Stop comments on a specific article form

You could create a copy of your current article form template but remove the comment_invite tag. When you write an article that you don’t want the comment_invite to appear on use the “Override form” box in the “Advanced Options” in the left-hand menu of the article editing screen to use your “other” form instead.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2006-01-01 16:38:17

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

Re: Stop comments on a specific article form

Er, turn off comments for the article?

Offline

#4 2006-01-01 17:30:27

matt7530
Member
Registered: 2004-11-01
Posts: 23
Website

Re: Stop comments on a specific article form

Thanks for the quick responses.

In certain views I’d like to display the invite, however, in other views I’d prefer not to display the invite. The problem is that the comment_invite displays regardless of whether the tag is in the form or not.

Is this how textpattern always works or am I missing something?

Offline

#5 2006-01-01 17:49:27

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Stop comments on a specific article form

You can turn off auto-append comments (which appends the contents of “comments_display” where adequate) and customize when and where to add those tags yourself.

Offline

Board footer

Powered by FluxBB