Zendcasts Forum

A community of developers who work with the Zend Framework and other enterprise PHP technologies

You are not logged in.

#1 2010-03-31 12:42:44

sephen
New member
Registered: 2010-03-31
Posts: 6

Navigation with additional parameter

Hi,

I use Zend_Navigation with XML which works fine, except for one thing and that is that i'm not able to add an extra param to the url.

in stead of /$module/$controller/$action/ i need /$module/$controller/$action/key/(key_param).

I need this for the CRUD.

Can anybody tell me how to perform this?

Thanks,

Peter

Last edited by sephen (2010-03-31 12:45:38)

Offline

#2 2010-03-31 17:57:22

Jon Lebensold
Administrator
Registered: 2009-06-27
Posts: 279

Re: Navigation with additional parameter

Hi Peter,

you might have to remove the default routes and write your own. I mention this in the series I did awhile back on Zend_Translate.

Offline

#3 2010-04-01 08:01:28

sephen
New member
Registered: 2010-03-31
Posts: 6

Re: Navigation with additional parameter

Hi Jon,

I created a new router with the extra key-param and a controller plugin which i registered but how do i get it in my href?

How do I get the key value to show up in my URL?

Thanks,

Peter

Last edited by sephen (2010-04-01 08:01:48)

Offline

Board footer

Powered by FluxBB