i am using Zend_Navigation
i want to show the nav item in the breadcrumbs but hide it in my menu, how can i do that?
Zend Framework: Hide navigation item in menu by show in breadcrumbs
Asked Answered
There are many choices, e.g.
- You may set
visible
parameter to false (eg. in xml config file), then usesetRenderInvisible(true/false)
on the navigation helper, - You may use separate containers,
- You may modify the container on the fly (
getContainer()
,getItemBy()
…)
When using an XML config file, use an integer instead of a boolean value:
<visible>0</visible>
An issue has already been logged for this problem here.
© 2022 - 2024 — McMap. All rights reserved.