7

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?

Jiew Meng
  • 84,767
  • 185
  • 495
  • 805

2 Answers2

11

There are many choices, e.g.

  • You may set visible parameter to false (eg. in xml config file), then use setRenderInvisible(true/false) on the navigation helper,
  • You may use separate containers,
  • You may modify the container on the fly (getContainer(), getItemBy()…)
takeshin
  • 49,108
  • 32
  • 120
  • 164
4

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.

golbarg
  • 337
  • 4
  • 9