On Wed, May 19, 2010 at 7:42 AM, tonystamp <[email protected]> wrote:
>
> edit: just found the visible parameter in the manual, but setting visible to
> false does not keep it hidden:
> <edit>
>        <label>Edit Item</label>
>        <uri>/item-manager/edit</uri>
>        <controller>item-manager</controller>
>        <action>edit</action>
>        <visible>false</visible>
> </edit>
> Is it good practice to have elements in the navigation file that are purely
> for structural purposes?
> --
> View this message in context: 
> http://zend-framework-community.634137.n4.nabble.com/Zend-Navigation-submenu-only-renders-if-link-is-defined-in-config-tp2222640p2222687.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

I believe boolean values in Zend_Config_Xml configuration files need
to be 0 or 1 rather than true/false or 'On/Off'. Any time I have tried
<tag>false</tag> or <tag>off</tag> the value has been handled as a
string, which PHP implicitly converts to true.

Andrew

Reply via email to