Sorry to be annoying but can anyone help with this because i am stuck?
(doesn't seem to be much activity in zftalk on freenode since zf2 was released)


---------- Forwarded message ----------
From: Steve Rayner <srayne...@googlemail.com>
Date: Sun, Sep 30, 2012 at 4:45 PM
Subject: Zend\Navigation
To: fw-general@lists.zend.com


I'm having problems with Zend\Navigation but i think i now understand
what is happening.

I have four pages in navigation that map to the following routes;

'home' => array(
                'label' => 'Home',
                'route' => 'home',
            ),
            'inventory' => array(
                        'label' => 'Inventory',
                        'route' => 'items',
                ),
                'sales' => array(
                        'label' => 'Sales',
                        'route' => 'roles',
                ),
                'purchasing' => array(
                        'label' => 'Purchasing',
                        'route' => 'categories',
                ),

as the home route maps to \ all other routes are seen as being under
this. So when i am on the home page,all pages are marked as active.
What do i need to change so that only the home page is marked as
active?

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to