引用:
原帖由 chunhao 发表引用:
原帖由 probable 发表
我试用了SWmenu,这个东西感觉满好的,但是对我而言觉得有两个缺陷是非常致命的:
1: 似乎只能使用主菜单为一级菜单;对我这样的使用多个模板的造成了限制(似乎主菜单中的“首页”必须显示)
2:mambefish没有翻译SWmenu的功能,多语言就不能使用动态菜单
哪位达人能解决么?谢谢!!
我问了原作者了....也试成功了
sean white如是写道:
To change the default menu with swmenufree go to "site module configuration"
in the admin area.
Locate and edit the mod_swmenufree module.
add this line where it says parammeters.
menutype="othermenu"
where othermenu is the name of your other menu and it will display this
instead of mainmenu.
翻译成中文就是:
到后台管理/模组管理/SWmenufree/参数(parameters下面)
加入menutype="你要的菜单名称"
储存就可以了
经过测试okay..
我又做了更详细的整理...
供大家参考
Swmenufree(弹跳选单)使用方法(含更改预设menu)
1. 进后台,修改在menu/你所选取的menu/menu item/edit/parent item 改成你所真正要显示在哪一层
2. 进后台,modules/site modules/
a.把main menu unpublished
b.把swmenufree publish
(swmenufree会把main menu的menu item抓成他的预设资料)
(此时在/home/你的网址/templates/你的template/index.php
里的 L67还是 <?php mosLoadModules ( 'left' ); ?> main module设在left)
以上完成将main menu的menu item设到swmenufree使用
以下讲将swmenufree预设抓取的main menu改成你想要的menu方法:
接续上面已完成的往下做:
1. 进后台,modules/site modules/swmenufree module/parameters
加入 menutype="你想改成的menu name"
2. save,成功
(此时在/home/你的网址/templates/你的template/index.php
里的 L67还是 <?php mosLoadModules ( 'left' ); ?>
不需改成你现在的menu positon