1.打開/lang/zh-cn/home.inc.php,找到9,10行替換如下:
$HMENU = $DMENU = array('公司介紹', '供應產品', '采購清單', '新聞中心', '榮譽資質', '人才招聘', '聯系方式', '公司相冊', '招商代理', '品牌展示', '公司視頻', '友情鏈接', '自定義頁', '新菜單'); $MFILE = array('introduce', 'sell', 'buy', 'news', 'credit', 'job', 'contact', 'photo', 'info', 'brand', 'video', 'link', 'page', 'page2', 'homepage');
2.打開/module/member/home.inc.php找到66行:
} else { $_menu_show = '1,1,1,1,1,1,1,1,0,0,0,0,0,1'; } $_menu_order = '0,10,20,30,40,50,60,70,80,90,100,110,120,130'; $_menu_num = '1,16,30,30,10,30,1,12,12,12,12,30,1,1'; $_menu_file = implode(',' , $MFILE); $_menu_name = implode(',' , $HMENU);
3.復制 module/company/page.inc.php 為page2.inc.php
4.打開module/company/init.inc.php找到109行:
$_menu_show = '1,1,1,1,1,1,1,1,0,0,0,0,0,1'; } $_menu_order = '0,10,20,30,40,50,60,70,80,90,100,110,120,130'; $_menu_num = '1,16,30,30,10,30,1,12,12,12,12,30,1,1'; $_menu_file = implode(',' , $MFILE); $_menu_name = implode(',' , $HMENU);
5.復制template/default/homepage/page.htm 為page2.htm