2010年9月21日星期二

Re: [fw-mvc] Issue with Zend_Navigation and redirecting from a controller plug-in

Zend_Navigation will use the currently-matched route to construct its URLs
if you don't specify which routes to use in the navigation config. Update
your navigation config to include a <route> block (if using XML config) and
your URLs should be built properly:

http://pastie.org/1172451

--
*Hector Virgen*
Sr. Web Developer
Walt Disney Parks and Resorts Online
http://www.virgentech.com

On Tue, Sep 21, 2010 at 6:56 AM, darkangel <glen.84@gmail.com> wrote:

>
> Hi,
>
> I have a controller plug-in that performs access control. When access is
> denied (and the user is not logged in), I redirect to /login. The problem
> is, my Zend_Navigation links then all point to /login for some reason on
> that page.
>
> Does anyone know why this is happening?
>
> _da.
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Issue-with-Zend-Navigation-and-redirecting-from-a-controller-plug-in-tp2548673p2548673.html
> Sent from the Zend MVC mailing list archive at Nabble.com.
>
>

没有评论: