Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-07 02:03:43

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Comments limited to single section

How do I go about turning on comments just for a single section – so I don’t get the “Comments Turned Off for this article text”?

Offline

#2 2007-11-07 02:13:43

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Comments limited to single section

Wrap the content of comments_display form with <txp:if_section name="section"></txp:if_section>-tags. Then the comments will be outputted only for the selected section.

Cheers!

Offline

#3 2007-11-07 02:22:22

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Comments limited to single section

Doh – that isn’t the tag I use virtually everyday is it… sometimes I wonder about myself… Thanks Gocom :)

Offline

Board footer

Powered by FluxBB