Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-13 02:15:19

mrbogle
New Member
Registered: 2009-03-13
Posts: 4

How do I manually post comments??

My client wants to use comments on article pages like testimonials. So what is the best way to enter them manually? Is there a plugin to do this? Something fancy in the back end? Or maybe it’s builtin and I am just missing it. Thanks.

Offline

#2 2009-03-13 06:59:57

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: How do I manually post comments??

You could use jmd_dashboard to create a product list (or whatever will have the testimonials) and output comment forms. So in the jmd_dashboard form, something like this could work (assuming append-comments is off):

<txp:article_custom section="products">
    <txp:if_comments>
    <txp:else/>
        <h2>Needs testimonial: <txp:title/></h2>
        <txp:output_form form="comments_display"/>
    </txp:if_comments>
</txp:article_custom>

Offline

#3 2009-03-16 03:52:09

mrbogle
New Member
Registered: 2009-03-13
Posts: 4

Re: How do I manually post comments??

Ah. I will try your plugin and hopefully report back with success. Thanks.

Offline

#4 2009-03-18 23:19:04

mrbogle
New Member
Registered: 2009-03-13
Posts: 4

Re: How do I manually post comments??

Ok, it works. However, the comment form has a bunch of unnecessary cruft for this use. I still have to preview, submit, approve the comment. Then it is redirected to the wrong url. So I need to do the back button action. It is pretty dumpy. Ideally I would add them on the Content > Comments tab or on the article’s edit page. But I would settle for a way to use your dashboard, skip all the preview junk and redirect to the dash after the comment has been entered. Is the easiest way to do this a plugin? Can it be done with a plugin?

Ben

Offline

Board footer

Powered by FluxBB