ZF 1.11.15 to 1.12.9 -- Issue with Navigation_Page_Mvc::isActive()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ZF 1.11.15 to 1.12.9 -- Issue with Navigation_Page_Mvc::isActive()

Jonathan Maron
Hello all

I am trying to update from ZF 1.11.15 to ZF 1.12.9 in a legacy web
application.

The navigation menus, and breadcrumbs appear as expected, however, the
active node is not marked as such. i.e. "isActive()" always returns false.
As a result, the active item in the menu is not displayed with
'class="active"' (among other problems).

Below are the files affecting this behavior (the result is the same, for
the PHP and XML definitions).

----------

Navigation container definition:

As PHP
https://gist.github.com/anonymous/27b7bc8c35a01765ac1d

As XML
https://gist.github.com/anonymous/1080cfdfcf885093c393

----------

Routes definition:

https://gist.github.com/anonymous/e23fa71bc6bd83ac54c0

Typical routes are: "/en_US/products/overview/",
"/de_DE/products/overview/" etc.

----------

S2d_Navigation_Page_Mvc definition:

https://gist.github.com/anonymous/e2f27fba2d5af3d40048

----------

I would be very grateful, if someone could explain how I can get
S2d_Navigation_Page_Mvc::isActive() to return true, as it did in ZF 1.11.15.

Thank you kindly in advance.

With kindest regards

Jonathan Maron