In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will give you a detailed explanation about whether phpcms can upload web pages. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Phpcms can upload web pages. Let's take a look at how phpcms uploads web pages:
1. The foreground template directory is located in phpcms\ templates\ default\ content of PHPCMS. Back up the newly installed PC foreground template (for reference), then delete it, and put the finished web page in it.
2. Copy the web page to JS, pictures and css files to the corresponding folder under statics.
3. Under phpcms\ templates\ default\ content, two new html pages, header.html and footer,html, represent the head and tail, respectively.
4. Open the home page and cut the header information into the newly created header.html.
5. Then change css,js, image path, 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 to remove the head and tail of the index.html, introduce paste at the top: {template "content", "header"}, paste on the bottom {template "content", "footer"}.
8. Other pages that do so have to remove the head and tail and introduce them accordingly, so that the common head and tail are realized.
9. Change the image path where the picture is used on the page to {IMG_PATH} XXX.jpg,JS and css also change to {JS_PATH} XXX.js and {CSS_PATH} XXX.css.
10, download "PHPCMS V9 user manual .chm" to see the template label, call the content on it.
Note: in step 5, these are constants that correspond to the root directory / statics/js/, / statics/css/,/statics/images/, of the site, so you can definitely refer to the images css and JS you put on static with variables.
On whether phpcms can upload the web page to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.