Hi all,

I searched but not found a solution for my problem (ZF1 & ZF2). So i ask
here...

I have a Navigation configured in the config file. I can show it in my
layout and it work:

Structure:

Home
-- Page1
-- Page2
---- Page2a
---- Page2b
-- Page3

That work and show, Page1, Page2, Page3 on my top main navigation.


Now i would like to *add another part of the navigation from the same tree*
and show on a sidebar only some part of that navigation, can be the current
level only (submenu), or another part of the tree. 

Below, all is showed, he dont care about the active branch only...
*1°*



Below, it render approximately what i need, if i'm on Page2, it show me
Page2a and Page2b, Good! But if i go on Page1 (have no child) he show me
Page1, Page2 and Page3. (i expect that show me nothing and not repeat what
are already on the main top navigation) ?

*2°*



Let say is the normal behavior of "renderSubMenu". Now i want use partial
because i need put a class in the <li>. How can i do that?


*Do i'm wrong ?*
*Another method exists ?*


Thanks for your help!
Michael



 



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Navigation-submenu-with-partial-tp4660760.html
Sent from the Zend Framework mailing list archive at Nabble.com.

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to