当前位置:网站首页>Phpcms mobile portal configuration

Phpcms mobile portal configuration

2022-06-22 07:33:00 Code 8 farmer

1、 Identify a domain name as your mobile phone wap Access domain name of the site , for example : http://m.wfuyu.com. Next, in the domain name management system, simply analyze the domain name to your server address .

2、 modify \caches\configs\route.php file , Add mobile routing address , The method is as follows :

return array(
        'default'=>array('m'=>'content', 'c'=>'index', 'a'=>'init'),
        'm.tezhengzong.com'=>array('m'=>'wap', 'c'=>'index', 'a'=>'init'),
);

3、 To phpcms backstage , modular -》 Mobile portal -》 modify    Configuration related information



Be careful : The format of the domain name must be like this : http://m.wfuyu.com
4、 Then add categories in category management .

5、 Finally open , Just ok 了

Then log in phpcms backstage , modular -》 Mobile portal

1. Add site


notes : Only one mobile portal can be added to a site .

2. Manage site

Site modification , Deletion and classification management .


3. Classification management


Input ( Or select ) modify ( Or add ) The content of . Click on “ Submit ” Finish saving .

This article comes from the programmer life net www.wfuyu.com Programmer life , Focus on Internet development


原网站

版权声明
本文为[Code 8 farmer]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220721274247.html