Please login or register to participate.
apbleonard May 13, 2010 05:50 PM
Would it be possible to develop a customised activity stream "portlet" so it only shows activity from a given set of users?

I'm a, Plone and Python newbie, but I'd be up for having a crack at this if I had a little encouragement :)
Replies (4)
dhiraj May 13, 2010 06:22 PM
Yes of course that is possible. And would love to do / have that too! :)
You have my +1

Encouragement: It should not really be difficult from the "getting of data" perspective, in It's a few catalog queries (one?) and you'll have the data ready to render. If you have a look at setting up ZopeSkel, paster, and generating a new skeleton portlet product into a running buildout from and svn checkout of with cynindevelop.cfg override, you can begin. :)

Potential discouragement: Portlet development in Plone can be quite non-trivial though (at least from an understanding it and then taking it places perspective) - you tell me if any of these makes sense to you and we'll see how it goes from there:[…]/an-introduction-to-plone-portlets[…]/referencemanual-all-pages
apbleonard May 14, 2010 06:16 PM
Hi Dhiraj. Thanks for the pointers. It is encouraging that it should be possible in theory at least. I like a challenge but this one could be tricky! I'll take a look at the docs you've pointed out and if I get somewhere, I'll let you know.
romasha May 15, 2010 10:46 AM
Hi apbleonard,

Your requirement of creating a portlet, so it shows activity of a set of users can be achieved with Collections.

You can create a collection with the criteria of showing content that user A, B etc. are working on. This collection would appear under the Collections Menu below the Spaces. Now, from the Dashboard --> Manage Portlets, you can add a collections portlet, search for the name of the collection that you created. And you're done! The collection will appear on the dashboard, showing recent activity from a set of users.

Let me know if this works for you.
gsiak May 17, 2010 04:27 PM
Hi Romasha, great idea for customisation of portal. Can you post this on Tips & Tricks as this very flexible way to show content in the portal?