User created Content (testimonials)

I have a client wanting to allow his clients to be able to write a testimonial through his site...My first thought was let them do it via a comment form on the actual testimonials page for example but not sure how to display them nicely or let them add a picture (optional feature I just thought of). (currently he gives me written testimonials and I manually add them to the site)

I'd of course like whatever they write to be approved first.

Any ideas?
Thanks,
Mike

Comments

  • fretzl Administrator, Developer
    If your main concern is the styling of the comments, you can modify the `comment_form` extension and/or use CSS.
    Use of the `comment_form` extension is the best approach if you also want to be able to approve the testimonials first.

    It's not possible to upload images into comments.
  • acrylian Administrator, Developer
    I agree, too. Adding a picture might be complicated or must be external ones though. While you can enable TinyMce allowing uploading from the front end is probably not too wise.
  • Working on doing using comments. Want to add another field. "Vehicle" - so I'll only use name, vehicle, captcha and comment. How can I add a field that will also display under their name.

    Lastly, how do I sort the comments latest first instead of last?
    Thanks
  • acrylian Administrator, Developer
    Adding fields that are also stored in the db is not that easy. I would simply re-use one of the existing ones and just label it differently by creating a custom comment_form.

    `printCommentForm` has a parameter for the order.
  • I did that - I've relabeled street as vehicle. I've captured it on the backend but the address doesn't show on the site. How do I get street only (now vehicle) to show up on the site?
  • acrylian Administrator, Developer
    Easiest is to set `printCommentForm` to not show the comments itself and code that manually using the `next_comment` loop on the theme. Best would be to use the multiple_layouts plugin (there is a short doc on the user guide) to provide a specific Zenpage page layout just for the testimonials.
  • Hmmm well I have everything formatted nicely at this point. And this testimonials page is the only one with comments enabled so I'm ok there. Was just hoping to be able to display street. Can't figure out the syntax though. Like I said I see it in the backend...just not able to display it.
  • acrylian Administrator, Developer
    Sorry, the standard function just does not display it (normally street is nothing you would show from a commenter). Remember we are using the comments a bit creative off the standard. So you will have to do some coding. Either what I suggested or a custom version of `printCommentFrom` (my suggestion is easier).
Sign In or Register to comment.