-- Ralf Eggert <[email protected]> wrote (on Monday, 15 December 2008, 09:21 PM +0100): > Hi, > > what is the current best practice to create a sidebar with a couple of > content blocks. Think of a login/logoff block, a search block, a block > with some categories, a block with a book taken from Amazon or some > pictures taken from Flickr. > > I could write a couple of plugins which could read data from models and > add output to the view. I could use Zend_View_Helper_Action to use > action methods from a controller. I could use the Action stack plugin > Zend_Controller_Plugin_ActionStack to chain some actions to be > processed. I could use Zend_Layout to use response segments. I could try > to find my own solution. > > Which solution would yor prefer? Maybe some one has even done such a > thing and could provide us with his experiences.
We do that very thing in the ZF site, using the placeholder view helper. :) -- Matthew Weier O'Phinney Software Architect | [email protected] Zend Framework | http://framework.zend.com/
