Results 1 to 2 of 2

Thread: Is it possible to do this?

  1. #1
    New user
    Join Date
    04-12-11.
    Posts
    2

    Default Is it possible to do this?

    Hi!
    Help me please!
    My situation:

    1) i have a comment-module
    2) i have a FAQ module
    3) I would like to:
    - i received new comment
    - click a "answer icon" (new function)
    - CMS automatically goes into the first category of FAQ-module and creates a "new question" (would be cool if the text of the comment immediately transferred to the field 'question - title ")

    Is it possible to do this?
    How can this be done?

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Is it possible to do this?

    I'm sorry, I do not have the exact knowledge to completely answer the question. But I'd say you'd best write your own extension. This extension should include a comments listing module. You can copy most of it from the existing. You would list the comments exactly as normal except for a button that logged in members of certain groups (for example) can use. Pressing that will show a form. Then for each comment you need to add that form into the template (look at other Contao forms to see where to submit to). The extensions I made/know that need submitting all seem to handle their input at the moment they are compiled/generated if I am not mistaken, so that is where you add the code with which you add a line into the tl_faq table.

    I hope this is helpful.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •