SmartPortlets 0.1 released
from the another-nowhere-joint dept
One of the projects I have in the cooker required a way to derive a portlet (Plone-speak for "sidebar content") from various content objects, without creating a new template for every portlet. This seemed useful enough to develop as a standalone product, so I glued SmartPortlets together yesterday afternoon and published it on plone.org this morning.
A SmartPortlet is a simple AT object that holds a reference to a Smart Folder, and has a setting for the maximum number of items to display in the portlet. If you leave max items at zero, the portlet will display all of the items that the Smart Folder returns. A "more..." link is displayed if the number of available items exceeds the maximum for the portlet. Clicking on the "more..." link, or on the portlet title, will take you to the Smart Folder from which the portlet is derived.
Not exactly a world-changing piece of software, I know, but it does the job, and it works with Plone's current portlet implementation. If you're looking for an easy way to set up a bunch of portlets on your Plone site, this may be it.
Enjoy :-)



