In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article "jspXCMS template modification, the foreground page is not updated how to do" most people do not understand, so the editor summarized the following content, detailed, clear steps, with a certain reference value, I hope you can read this article can have a harvest, let's take a look at this "jspXCMS modification template, the foreground page is not updated how to do" article it.
The first thing to do is to see if the static page is open. Only in the use of dynamic pages, access to the foreground will parse the template in real time, modify the template can be displayed in the foreground in real time; if you open the static page, all the html has been done, visit the static html directly, without program processing, naturally will no longer parse the template.
The template is modified when the static page is opened, and the static page needs to be regenerated in the build management. Therefore, in the website production stage, do not turn on the static page, otherwise you have to generate a static page every time you modify the template to see the effect, which is not only inefficient, but also unable to view error messages.
If the static page is regenerated, it still cannot be displayed. One possibility is that after modifying the template, the template has syntax problems, resulting in the failure to generate static pages normally, and there will be no changes in the foreground pages. It is also possible that the static configuration of the page has been modified so that the newly generated static page is in a different path and fails to overwrite the currently accessed static page. Or maybe the static page was originally opened, but now it is closed, but you are still visiting the originally generated html page.
In short, try not to debug the template when the static page is open; if you encounter problems when debugging the template, you should close the static page and then debug the template.
In addition, if you modify the css and js files (in this case, the independent css or js files, not the css or js code written in the template), the foreground does not change. Because css and js are static files, like static resources such as pictures, they are not processed by the program, so they have nothing to do with the program code. Usually because the changes caused by the browser cache do not take effect, you can clear the browser cache or change the browser.
The above is about the article "what to do if the front page is not updated after jspXCMS modifies the template". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.
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.