Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF
Improvements to Discussion Items
 

Index | Next | Previous | View Flat


optilude+lists at gmail

Mar 22, 2009, 2:45 AM


Views: 364
Permalink
Improvements to Discussion Items

Hi,

I've been working on improving commenting in Plone. I'm not 100% sure
we'll stay with CMFDefault's idea of Discussion Items forever, but for
now there are a couple of low-risk things that would make them a lot
more useful.

1) Fire an IObjectAddedEvent when a Discussion Item is created
2) Fire an IObjectRemovedEvent when a Discussion Item deleted
3) Do not hardcode the review_state of a Discuss Item. This allows
discussion items to participate in workflow.

4) Create discussion items based on an IFactory utility rather than
hardcoding the class.

I've implemented 1-3, along with a simple review workflow and indexers
that index the number of comments and the people who've commented on a
content item (to make it easier to find items the current user has
commented on, and to show the number of comments an item has received in
a content listing), in a new Plone product, collective.discussionplus.
There's a file of simple monkey patches to CMFDefault here:

http://dev.plone.org/collective/browser/collective.discussionplus/trunk/collective/discussionplus/patches.py

Would it be useful to push this down into CMF itself? I can't promise I
have time to do that (with tests) in the short term, but I'm happy to
help anyone who wants to do it. I may find time later, of course.

Martin

--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Subject User Time
Improvements to Discussion Items optilude+lists at gmail Mar 22, 2009, 2:45 AM
    Re: Improvements to Discussion Items charlie at begeistert Mar 24, 2009, 2:29 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.