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