来源:http://trac.seagullproject.org/wiki/Howto/Navigation/Addons

如何使用navigation元件

进入到管理员导航栏上的Navigation。单击”创建新的section”

填写section信息的各个相关栏位:

 Section title: any text
 Parent section: User menu
 Target: addon
 Addon class name: OutputAddon
 Name of passed menu object from module: navAddon

在“编辑选项”标签下:

 Publish: enabled
 Can view: All roles

在模块manager中创建菜单项对象,请看DemoAddon实例。将对象指定给$output→navAddon。

 
howto/navigation/addons.txt · 最后更改: 2010/05/30 00:21 (外部编辑)
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2