开发者

How to Create a Zend_Navigation Dummy Node - Zend Framework 1.11.4

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜