Home > CMS Tutorial > PHPCMS > Can phpcms upload web pages?

Can phpcms upload web pages?

Release: 2019-11-01 10:58:01
Original
2645 people have browsed it

Can phpcms upload web pages?

phpcms can upload web pages. Let's take a look at how phpcms uploads web pages:

1. The front-end template directory is in phpcms\templates\default\content of PHPCMS. Back up the newly installed PC front-end template (for reference), and then Delete and put the completed web page here.

2. Copy the JS, images and css files used in the web page to the corresponding folder under statics.

3. phpcms\templates\default\content Create two new html pages below, namely header.html and footer. The html represents the head and the tail respectively.

4. Open the home page and cut the header information into the newly created header.html.

5. Then change the paths of css, js, and pictures. JS path: {JS_PATH} css path: {CSS_PATH} Picture path: {IMG_PATH} (you can refer to the header.html of the original template)

6. Cut the bottom of index.html into footer.html.

7. Open index.html. The current index.html is index.html with the head and tail removed. Introduce and paste at the top: {template "content", "header"}, and paste { at the bottom. template "content","footer"}.

8. When doing this, other pages must remove the header and trailer and introduce the header and trailer accordingly, so as to achieve a common header and trailer.

9. Change the image path where images are used in the page to {IMG_PATH}XXX.jpg, and change JS and css to {JS_PATH}XXX.js and {CSS_PATH}XXX. css.

10. Download "PHPCMS V9 User Manual.chm", look at the template tag, and call the content.

Note: In step 5, these are constants corresponding to the website root directory /statics/js/, /statics/css/, /statics/images/, so you can definitely reference it with variables. The css and JS of the image placed in static

The above is the detailed content of Can phpcms upload web pages?. 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
Latest Issues
How to uninstall phpcms
From 1970-01-01 08:00:00
0
0
0
phpcms cannot be installed
From 1970-01-01 08:00:00
0
0
0
phpcms access address does not exist
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template