Home > CMS Tutorial > PHPCMS > body text

How to implement wap single page in phpcms

王林
Release: 2020-02-08 14:05:29
Original
2128 people have browsed it

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>
Copy after login

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!

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