开发者

How to Create a Zend_Navigation Dummy Node - Zend Framework 1.11.4

开发者 https://www.devze.com 2023-02-17 07:02 出处:网络
i\'m trying to create a node in the Zend_Navigation tree that is just used for organizing the links within it开发者_如何学运维.therefore it would NOT require an anchor tag when rendered and not show u

i'm trying to create a node in the Zend_Navigation tree that is just used for organizing the links within it开发者_如何学运维. therefore it would NOT require an anchor tag when rendered and not show up in the breadcrumb. anyone know how to make this happen?


Not really sure what your're after. I assume that you use navigation.xml in application/config folder to organize your navigation. Then you could provide a dummy navigation element and disable it using css:

<all>
    <label>Home</label>
    <resource>default:Home</resource>
    <module>default</module>
    <class>dummy</class>
</all>  
0

精彩评论

暂无评论...
验证码 换一张
取 消