Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-02-16 00:39:50
- nubian
- New Member
- Registered: 2009-02-12
- Posts: 6
How do I close comments on specific sections...
I’ve been googling for an answer, but is there a setting that I can use to disable comments on specific sections, e.g. enable comments on articles under blog section by default, but disable it in articles under news section?
thanks!
Offline
Re: How do I close comments on specific sections...
You can enclose the content of your comments_display form in the txp:if_section tag. Example:
<txp:if_section name="blog">
// Previous comments_display's contents
</txp:if_section>
Offline
#3 2009-02-16 09:13:18
- nubian
- New Member
- Registered: 2009-02-12
- Posts: 6
Re: How do I close comments on specific sections...
LOL, simple solutions can really make wonders… Thank you! :)
Offline