这篇文章主要介绍了destoon实现商铺管理主页设置增加新菜单的方法,需要的朋友可以参考下
1.打开/lang/zh-cn/home.inc.php,,找到9,10行替换如下:
$HMENU = $DMENU = array('公司介绍', '供应产品', '采购清单', '新闻中心', '荣誉资质', '人才招聘', '联系方式', '公司相册', '招商代理', '品牌展示', '公司视频', '友情链接', '自定义页', '新菜单'); $MFILE = array('introduce', 'sell', 'buy', 'news', 'credit', 'job', 'contact', 'photo', 'info', 'brand', 'video', 'link', 'page', 'page2', 'homepage');
2.打开/module/member/home.inc.php找到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);
3.复制 module/company/page.inc.php 为page2.inc.php
4.打开module/company/init.inc.php找到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);
5.复制template/default/homepage/page.htm 为page2.htm

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Atom editor mac version download
The most popular open source editor

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.