| | 72 | == FAQ == |
| | 73 | |
| | 74 | '''Question:''' |
| | 75 | Where the e-mail addresses are stored when they are turned on as required? Can you clarify how this works with the e-mail addresses collected in the qPloneComments form. My use case is essentially that I occasionally need to enable site managers to respond via e-mail to the comment authors. |
| | 76 | |
| | 77 | '''Answer:''' |
| | 78 | |
| | 79 | Plone still utilizes the !DiscussionItem from CMFDefault. qPloneComments extends it as a regular !PropertyManager. You can traverse to the comment in question and find all added attributes in properties sheet: |
| | 80 | |
| | 81 | /Plone/[a_document]/talkback/[comment_id]/manage_propertiesForm |
| | 82 | |
| | 83 | Inside your script you can use getProperty method to get the property from a !PropertyManager based object (you can check out the !PropertyManager interface in source or with !DocFinderTab). |
| | 84 | |