Navigational nightmare.

2 messages Options
Embed this post
Permalink
Brandon Peacey

Navigational nightmare.

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hello, I’m having trouble with Zend_Controller_Router_Route_Static.

Here is the problem, so I was just making sure all my navigational links were pointing to their respective areas. Everything was working fine, until I clicked the link signup

This by the way has the following route. /public/default/member/signup with zend router route static public/signup now I noticed that when I clicked the other links after click that route, all my other links point to the same locations as sign up… Honestly, I’m completely confused; I have no idea why this action is taking place,

 

Can anyone explain what I’m doing wrong and how it is possible for all my links to be rewritten?

Thanks for the help in advanced

keith Pope-4

Re: Navigational nightmare.

Reply Threaded More More options
Print post
Permalink
If you are using the url view helper you may need to provide the route
for it to use:

<?= $this->url(array('page' => $this->next), 'catalog_category'); ?>

The second parameter is a named route, I found that I needed to add
'default' to all links that use the default route.

2009/1/16 Brandon Peacey <[hidden email]>:

> Hello, I'm having trouble with Zend_Controller_Router_Route_Static.
>
> Here is the problem, so I was just making sure all my navigational links
> were pointing to their respective areas. Everything was working fine, until
> I clicked the link signup
>
> This by the way has the following route. /public/default/member/signup with
> zend router route static public/signup now I noticed that when I clicked the
> other links after click that route, all my other links point to the same
> locations as sign up… Honestly, I'm completely confused; I have no idea why
> this action is taking place,
>
>
>
> Can anyone explain what I'm doing wrong and how it is possible for all my
> links to be rewritten?
>
> Thanks for the help in advanced



--
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------