ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How do I add a custom comment field?

October 11, 2007 1:01pm

Subscribe [3]
  • #1 / Oct 11, 2007 1:01pm

    draymond

    22 posts

    This is not a custom user field, but a custom field in the exp_comments table.
    1. I would like to capture 2 separate comments from one commenter, like Question and Suggestion. I’ve added the fields, and hard-coded the form fields into the form, but they don’t get inserted into the database.
    2. Also, using the query module in the comment display, I cannot pass the comment_id in the query to get the custom field data. I assume that’s a parsing order thing.

  • #2 / Oct 11, 2007 1:58pm

    Lisa Wess

    20502 posts

    There is not currently a feature for custom comment fields; you would need to use an extension or module to handle this.

    You could put in a feature request for this; and in some way it may be possible to utilize relationships/reverse relationships for this, as well. =)

  • #3 / Nov 20, 2007 5:12am

    be-human

    48 posts

    Hi Lisa,

    Please could you guide me in the right direction to find an extension or module to do exactly this - urgently 😉? I need to allow non-signed in visitors to tick one of four boxes saying what capacity they are commenting in.

    Thanks in advance.

    I am Paul

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases