Does anyone know how to do the below?
I would like to generate a menu with dynamic parameters such as when visiting page A, link should be /controller/action?id=A, when visiting page B link should be /controller/action?id=B.
Is it not possible to do? Any clean or workaround suggestions are welcome.
Regards,
Joakim
On Tue, Jun 23, 2009 at 10:07 PM, Joakim Gerth
<armarna@...> wrote:
---------- Forwarded message ----------
From: Joakim Gerth <armarna@...>
To: Josh Team <joshteam@...>
Date: Mon, 22 Jun 2009 18:54:03 +0200
Subject: Re: [fw-general] Generate menu with variables with Zend Navigation
And how to make id dynamical? So it can be rendered differently dependent on where i am?
On Mon, Jun 22, 2009 at 6:36 PM, Josh Team
<joshteam@...> wrote:
<params>
<id>xxx</id>
</params>
after </action> and before </home>
On Mon, Jun 22, 2009 at 11:34 AM, Joakim Gerth<
armarna@...> wrote:
> Hi all,
> I would like to render a menu from xml config using Zend Navigation. My
> problem is to include action specific variables in the url.
>
> I.e. in my xml file
> <home>
> <label>Home</label>
> <controller>index</controller>
> <action>index</action>
> </home>
>
> In my menu i would like the url pointing to /index/index/?id=xxx
>
> Is that possible?
> If yes, how, if no are there any possible workarounds?
>
> BR
> Joakim
>
>