This article mainly introduces how to add a new menu to the shop Management Homepage setting by using destoon. For more information, see
This article mainly introduces how to add a new menu to the shop Management Homepage setting by using destoon. For more information, see
1. Open/lang/zh-cn/home. inc. php and replace Lines 9 and 10 with the following:
$ HMENU = $ DMENU = array ('Company introduction', 'supply production', 'purchase list', 'news Center', 'honorary qualification ', 'talent recruitment ', 'Contact information', 'Company album ', 'Investment Promotion agent', 'brand expression', 'Company video', 'friendship link', 'custom page ', 'New menu '); $ MFILE = array ('initduce', 'authorization', 'buy', 'News', 'credentials', 'job', 'contact ', 'photo', 'info', 'brand', 'video', 'link', 'page', 'page2', 'homepage ');
2. Open/module/member/home. inc. php and find line 66:
} Else {$ _ menu_show = '1, ';} $ _ menu_order = '0, 10, 20, 30, 40, 50, 60, 70, 80, 90,100,110,120,130 '; $ _ menu_num = '1, 16, 30, 10, 30, 1, 12, 12, 12, 12, 30, 1, 1'; $ _ menu_file = implode (',', $ MFILE); $ _ menu_name = implode (',', $ HMENU );
3. Copy module/company/page. inc. php to page2.inc. php.
4. Open module/company/init. inc. php and find row 109:
$ _ Menu_show = '1, 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. Copy template/default/homepage/page.htm to page2.htm.