Well, your rewrite router simply doesn't know where to put the sid
parameter... Strip it :)
Marco Pivetta

http://twitter.com/Ocramius

http://marco-pivetta.com



On 19 March 2012 13:38, Coiby [via Zend Framework Community] <
ml-node+s634137n4484617...@n4.nabble.com> wrote:

> Hi all,
> I have a problem about Zend_Navigation. When visiting
> {base_url}/site/edit/9, breadcrumbs how nothing. My config file(xml) is as
> follows:
> *...
> <site-edit>
>                 <label>Edit a site</label>
>                 <controller>site</controller>
>                 <action>edit</action>
>                 <resetParams>0</resetParams>
>                 <params>
>                 <sid>0</sid>
>                 </params>
> </site-edit>
> ..*
>
> If change it to:
> *...
> <site-edit>
>                 <label>Edit a site</label>
>                 <controller>site</controller>
>                 <action>edit</action>
>                 <resetParams>0</resetParams>
>                 <params>
>                 <sid>0</sid>
>                 </params>
> </site-edit>
> ...*
>
> then there's an error:
> *Uncaught exception 'Zend_Controller_Router_Exception' with message 'sid
> is not specified' in
> /var/www/webguide/library/Zend/Controller/Router/Route.php:354 Stack trace:
> #0 /var/www/webguide/library/Zend/Controller/Router/Rewrite.php*
>
> How to solve this problem?
>
> Thanks!
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://zend-framework-community.634137.n4.nabble.com/how-to-pass-parameters-in-breadcrumbs-tp4484617p4484617.html
>  To unsubscribe from Zend Framework Community, click 
> here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4>
> .
> NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/how-to-pass-parameters-in-breadcrumbs-tp4484617p4484714.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to