Home > Backend Development > PHP Tutorial > How to set up and add a new menu on the destoon store management homepage?

How to set up and add a new menu on the destoon store management homepage?

WBOY
Release: 2016-07-25 09:11:50
Original
1079 people have browsed it

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:

  1. $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');
  2. $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:

  1. } else {
  2. $_menu_show = '1,1,1,1,1,1,1,1,0,0,0,0,0,1';
  3. }
  4. $_menu_order = ' 0,10,20,30,40,50,60,70,80,90,100,110,120,130';
  5. $_menu_num = '1,16,30,30,10,30,1,12,12,12,12,30, 1,1';
  6. $_menu_file = implode(',' , $MFILE);
  7. $_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:

  1. $_menu_show = '1,1,1,1,1,1,1,1,0,0,0,0,0,1';
  2. }
  3. $_menu_order = '0,10, 20,30,40,50,60,70,80,90,100,110,120,130';
  4. $_menu_num = '1,16,30,30,10,30,1,12,12,12,12,30,1,1' ;
  5. $_menu_file = implode(',' , $MFILE);
  6. $_menu_name = implode(',' , $HMENU);
Copy code

5, copy template/default/homepage/page.htm as page2.htm is enough.



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