1 /lang/zh-cn/home.inc.php - $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 - } 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 - include template('page2', $template);
4 module/company/init.inc.php - $_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 以上红色字体部分更改为自己的文件名和导航的名称。注意要想在公司主页显示自定义的导航首先要在会员组管理--->企业会员----->可用菜单、默认菜单进行勾选。特别注意的是要添加相应的栏目哦
|