Thanks for your quick reply,
however I did not get it...
If I have this example code
$container = new Zend_Navigation();
// add page by giving a page instance
$container->addPage(Zend_Navigation_Page::factory(array(
'uri' => 'http://www.example.com/'
)));
How am I supposed to render it with the code you posted?
Thanks
Sergio Rinaudo
> Date: Wed, 20 May 2009 07:22:01 -0700
> From: [email protected]
> To: [email protected]
> Subject: Re: [fw-general] Zend_Navigation: how to render?
>
>
> don't know if you have to use the helpers, but that's one way to do it.
>
> echo $this->navigation()->menu();
> echo $this->navigation()->sitemap();
> echo $this->navigation()->breadcrumbs();
> echo $this->navigation()->links();
>
> refs:
>
> http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.navigation
> http://hienoa.net/web/2009/05/03/getting-started-with-zend_navigation-with-two-simple-steps/
>
>
>
>
>
> Razorblade wrote:
> >
> >
> > Hi,
> > I've read the documentation about Zend_Navigation component, I have clear
> > how to create a container and how to add pages to it , but what is not
> > clear is how to render.
> > Do I have to use the 'navigation' view helper? And how?
> > Thanks
> >
> > Sergio Rinaudo
> >
> >
> > _________________________________________________________________
> > Più di 30 stazioni. Ascolta la Radio su Messenger!
> > http://messenger.it/radioMessenger.aspx
> >
>
> --
> View this message in context:
> http://www.nabble.com/Zend_Navigation%3A-how-to-render--tp23636373p23636489.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
Quali sono le parole più cliccate? Scopri la top!
_________________________________________________________________
Cerca le Parole, gioca su Typectionary!
http://typectionary.it.msn.com/