RE: [fw-general] [repost] how to wrap an element in a dl?

2011-11-06 Thread Terre Porter
I'm not totally understanding of how the decorators work, so it took some fiddling to figure it out. It's similar to if you wanted to change to a table layout, you wanted a dl to wrap the elements, similar to a tr that that wraps the elements. Try adding this to your elements. $element->addDecora

[fw-general] Where should I call my registerPlugin?

2011-11-06 Thread mbneto
Hi, I need to create some routes based on the database so based on what I've read/suggestions I'll have to change the way I am doing it today. Since I'll have to pull from the database the correct way should be to write a plugin ( http://framework.zend.com/manual/en/zend.controller.plugins.html)

Re: [fw-general] Where should I call my registerPlugin?

2011-11-06 Thread Jurian Sluiman
Hi mbneto, On Mon, Nov 7, 2011 at 12:11 AM, mbneto wrote: > > So my questions are: > a) Where should I add this registerPlugin since in my index.php I am not > actually calling the dispatch? > You can register plugins in your application.ini file, see the manual: http://framework.zend.com/manual