How to set up and add a new menu on the destoon store management homepage? You can refer to the following methods:
1. Open /lang/zh-cn/home.inc.php, find lines 9 and 10 and replace them as follows:
-
- $HMENU = $DMENU = array('Company introduction', 'Supply products', 'Purchasing list', 'News center', 'Honorary qualifications', 'Talent recruitment', 'Contact information', ' Company photo album', 'Investment agency', 'Brand display', 'Company video', 'Friendly links', 'Customized page', 'New menu');
- $MFILE = array('introduce', 'sell', 'buy', 'news', 'credit', 'job', 'contact', 'photo', 'info', 'brand', 'video', 'link', 'page', 'page2', 'homepage ');
Copy the code
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 code
3, copy module/company/page. inc.php is 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 code
5, copy template/default/homepage/page.htm as page2.htm is enough.
|