Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-12-31 19:37:16
- REvans
- New Member
- Registered: 2005-10-03
- Posts: 2
Multiple Comment Forms
How would I go about creating multiple comment forms and display?
What I want to do is have normal comments for the blog section and then in another section, I want to tailor the comment form and display for just that section only.
I have tried making additional forms that are just like the original comment form and comment display form and made changes only to the headings and the text that describes the type of comments being made. I couldn’t get it to work. Even though I had a new section pointing to a new page that pointed to the correct form to be used.
Am I missing something or this just not able to be done?
Offline
Re: Multiple Comment Forms
Use the if_section tag. The wiki page is kinda messed up right now due to a redesign but here is the general idea:
<code><txp:if_section> …your content here…<txp:else />…default option… </txp:if_section></code>
Offline
#3 2005-12-31 22:50:44
- REvans
- New Member
- Registered: 2005-10-03
- Posts: 2
Re: Multiple Comment Forms
Ah, excellent. Thank you!
Offline
Pages: 1