---restore content starts---
Application Phpcms V9 easy to complete WAP mobile website building Full Course
With the latest release of the Phpcms V9 set up the PHPCMS Research Center website (http://www.17huiyi.net) completed, there is a user mobile phone access issues, and began to build a WAP wireless station (m.17huiyi.net).
The following steps are required to complete the WAP setup with Phpcms V9:
First step: Domain name resolution and build station
Enter the domain name management, establish a record, resolve to the corresponding IP address, such as the m.17huiyi.net resolution to 202.165.183.12, in the Web service settings (IIS or Apache) to build a station, The home directory is the same as Www.17huiyi.net's home directory, but the default first page is set to index.php, and Www.17huiyi.net's default home is index.html
Step Two: Add Mobile portal in Phpcms V9 admin background
PHPCMS V9 Backstage Management Center "module" mobile phone Portal "Add mobile Site
Fill in the site name, LOGO, binding domain name, note that the domain name must be http://start.
Step Three: Classification management
Building a good mobile phone portal list management operations have a "classification management", WAP classification needs to be new, and then bound to the corresponding columns, this coupling way is better, but also more flexible.
Fourth Step: Change route.php
File path/caches/configs/route.php
In the return array, add
' M.17huiyi.net ' =>array (' m ' + = ' wap ', ' c ' = ' = ' index ', ' a ' = ' = ' init ', ' Data ' =>array (' GET ' =>array (' SiteID ' =>1)),
and then save
After the above 4 steps to complete the WAP Mobile station construction, examples can be seen m.17huiyi.net
WAP template can be found in the phpcms V9 Admin Center "interface" template style to find changes!m.17huiyi.net to the template made some changes, we can refer to.
---restore content ends---
Phpcms V9 Easy to complete the WAP mobile website to build a full course