Home  >  Article  >  CMS Tutorial  >  How to implement wap single page in phpcms

How to implement wap single page in phpcms

王林
王林Original
2020-02-08 14:05:292069browse

How to implement wap single page in phpcms

The following is an example of adding the "About Us" page:

1. Copy maps.html under phpcms\templates\default\wap, Paste and rename it to about.html, and modify the content as the "About Us" template file;

2. Search for function maps() in the phpcms\modules\wap\index.php file and find

How to implement wap single page in phpcms

Copy and paste it below and modify it to //About Us single page

How to implement wap single page in phpcms

3. Add in the corresponding navigation position "About Us" link is added to the single page.

<a href="{APP_PATH}index.php?m=wap&c=index&a=about">学校概况</a>

Recommended related tutorials: phpcms tutorial

The above is the detailed content of How to implement wap single page in phpcms. For more information, please follow other related articles on the PHP Chinese website!

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