Phpcms V9 Easy to complete the WAP mobile website to build a full course

Source: Internet
Author: User

---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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.