Home > Article > Backend Development > How to add a left list menu menu in the background
To add a left list menu menu in the Ecshop background, three files need to be modified:
/admin/includes/inc_menu.php
/admin/includes/inc_priv.php
/languages/zh_cn/admin/common.php
1. Add
$modules['03_promotion']['16_progoods_list'] in /admin/includes/inc_menu.php = 'progoods.php?act=list';
The previous 03_promotion is a level such as product management and promotion management Menu, the '16_progoods_list' at the back is the secondary menu below. We will use this '16_progoods_list' in common.php, which is used in the template,
2. So, next we need to use /languages/zh_cn Add a
$_LANG['16_progoods_list'] = 'Popular Promotion' in /admin/common.php;
3. Add a permission in permission management/admin/includes/inc_priv.php
$purview['16_progoods_list' ] = 'progoods_manage';
The above introduces the method of adding a left list menu menu in the background, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.