How to implement store management home page setting and add new menu with destoon_PHP tutorial

WBOY
Release: 2016-07-13 10:26:11
Original
1024 people have browsed it

1. Open /lang/zh-cn/home.inc.php, find lines 9 and 10 and replace them as follows:

$HMENU = $DMENU = array('公司介绍', '供应产品', '采购清单', '新闻中心', '荣誉资质', '人才招聘', '联系方式', '公司相册', '招商代理', '品牌展示', '公司视频', '友情链接', '自定义页', '新菜单');
$MFILE = array('introduce', 'sell', 'buy', 'news', 'credit', 'job', 'contact', 'photo', 'info', 'brand', 'video', 'link', 'page', 'page2', 'homepage');
Copy after login

2. Open /module/member/home.inc.php and find line 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);
Copy after login

3. Copy module/company/page.inc.php to page2.inc.php

4. Open module/company/init.inc.php and find line 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);
Copy after login

5. Copy template/default/homepage/page.htm to page2.htm

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/824780.htmlTechArticle1. Open /lang/zh-cn/home.inc.php, find lines 9 and 10 and replace them as follows: $HMENU = $DMENU = array('Company introduction', 'Products supplied', 'Purchasing list', 'News center', 'Honorary qualifications', 'Talent recruitment...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template