Answer the question
In order to leave comments, you need to log in
How to split menu into custom selects in zf2?
There are a lot of pages that are registered in navigation:
'navigation' => array(
'default' => array(
array(
'label' => 'Новости',
'order' => 50,
'route' => 'article',
'resource' => 'Article\Controller\Article',
'controller' => 'Article\Controller\Article',
'action' => 'index',
'params' => array('id' => null)
),
),
),
Answer the question
In order to leave comments, you need to log in
If I understood correctly, then you can start by setting the links to classes corresponding to thematic groups.
framework.zend.com/manual/current/en/modules/zend....
From an array of one page it is difficult to understand what is there and how you have it. Is there some sort of page hierarchy?
Why are you iterating over the links yourself instead of using the view helper?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question