Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2005-12-31 22:07:56

RenJonsin
Member
From: Tarpon Springs, FL USA
Registered: 2005-02-06
Posts: 103
Website

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>

more in this topic

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

Board footer

Powered by FluxBB