Personal tools
You are here: Home Weblog SmartPortlets 0.1 released

SmartPortlets 0.1 released

Posted by Sean Fulmer at Jul 07, 2006 07:00 PM |
Filed under: ,

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 :-)

Comments (0)

About Me

Sean Fulmer is a Plone consultant and tech support geek.

Clicky Web Analytics

Clicky