Started implementing a new usecase for collective.ploneboard
Aman Arora <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CAAQv-SFKdBcj24KY7VTdi+HtJtt2mWwSGrFPXkv6jBRxrHE9iQ@mail.gmail.com> |
Hello, As you suggested I went through the prototype and tried using it. To start extending it I wrote some basic usecases. Use cases: As an administrator I can start a new message board. As an administrator I can mention categories while making message board. As an administrator I can start a new forum/topic. As an administrator I can choose categories while making forum/topic. As an administrator I can specify maximum number of attachments per comment. As an administrator I can specify maximum size per attachment. As an administrator I can choose whether to allow user to edit his comment or not. As an administrator I can start a new conversation. As a member I can post my comment/reply on a conversation. As a member I can edit my replies/comments, if allowed. As a member I can add attachments to my replies/comments, if allowed. As a member I can search in a message board. I started implementing the second one, i.e. to add a text box for categories when administrator is making a new message board. To do that I did the following : > Wrote a simple field in class IMessageBoard in src/collective/ploneboard/interfaces.py. Here is the link : http://pastie.org/8882032 > Also I added a new paragraph <p class="documentCategory" tal:content="context/category" /> to src/collective/ploneboard/browser/messageboard.pt A new field shows up when adding a new message board. After saving it the data entered is also on the screen. It worked. I want to confirm, am I doing it correctly. Also, I have started feeling a bit more confident after going through your implementation and Dexterity documentation simultaneously as I now I am getting a little how things are working :) . Looking forward to suggestions. Thanks Aman Arora ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers