PHPCMS Mobile portal Site Configuration
1, determine a domain name as your mobile WAP site access domain name, for example: http://m.wfuyu.com. Next, in the domain name management system to analyze this domain name to your server address.
2, modify the \caches\configs\route.php file, increase the mobile phone 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, module-"Mobile Portal-" Modify configuration related information
Note: The format of the domain name must be this: http://m.wfuyu.com
4, then add classification in the classification management.
5, the last open, it's OK
Then login phpcms backstage, module-"Mobile Portal
1. Add a site
Note: Only one mobile portal can be added to a site. <喎?http: www.bkjia.com="" kf="" ware="" vc="" "="" target="_blank" class="keylink"> vcd4kpha+phn0cm9uzz4ylrncwo3vvrxjidwvc3ryb25npjwvcd4kpha+1b6149deumsjrmm+s/ 26zbfwwoc1xlncwo2hozwvcd4kpha+pgltzybzcmm9 "http://www.2cto.com/uploadfile/Collfiles/20140912/ 20140912090905344.jpg "alt=" \ ">
3. Classification Management
Enter (or select) the content to modify (or add). Click "Submit" to complete the save operation.
This article from the Programmer Life Network www.wfuyu.com Programmer life, focus on internet development
http://www.bkjia.com/PHPjc/879181.html www.bkjia.com true http://www.bkjia.com/PHPjc/879181.html techarticle phpcms Mobile Phone Portal Configuration 1, determine a domain name as your mobile WAP site access domain name, for example: http://m.wfuyu.com. Next in the Domain name management system to analyze this domain name to you ...