Home > Backend Development > PHP Tutorial > phpcms mobile portal configuration_PHP tutorial

phpcms mobile portal configuration_PHP tutorial

WBOY
Release: 2016-07-13 10:19:05
Original
1235 people have browsed it

phpcms mobile portal configuration

1. Determine a domain name as the access domain name of your mobile wap site, for example: http://m.wfuyu.com. Next, briefly analyze this domain name to your server address in the domain name management system.

2. Modify the cachesconfigsroute.php file and add 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'),
);
Copy after login

3. Go to the phpcms background, Module - "Mobile Portal -" Modify configuration related information



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

5. Finally turn it on and it will be ok

Then log in to the phpcms backend, module-》Mobile Portal

1. Add 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 modified (or added) content. Click "Submit" to complete the saving operation.

This article comes from Programmer’s Life Network www.wfuyu.com Programmer’s Life, focusing on Internet development


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/879181.htmlTechArticlephpcms mobile portal configuration 1. Determine a domain name as the access domain name of your mobile wap site, for example: http:/ /m.wfuyu.com. Next, briefly analyze this domain name in the domain name management system to you...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template