In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method of weaving dream DEDECMS to generate HTML page, the article is very detailed, has a certain reference value, interested friends must read it!
How does dream weaving DEDECMS generate HTML pages?
Dream weaving DEDECMS information publishers publish articles and automatically update and generate HTML pages by default
I always thought that after DEDECMS's information publishers posted articles in the background, they had to be reviewed by the administrator before they could be displayed. Today, a buddy asked me this question. Q: "can you publish directly and generate HTML automatically, thus saving the trouble of having to be reviewed by the administrator?" I told him first that it was impossible, and it could not be displayed until it was reviewed by the administrator. Oh, thanks to the fact that I have been weaving dreams for such a long time, the answer to such a simple question is so amateur!
After careful study, there is a way to enable the permission of the information publisher to automatically generate HTML, list page and home page after publishing articles. The specific methods are as follows:
If (! TestPurview ('await CheckMagne')) {$arcrank =-1;}
Arcrank =-1 indicates that there is no audit arcrank = 0 indicates that the article has been audited
There is such a sentence in dealing with the saved code, that is, check whether you have permission before writing it to the database, namely, "Review any document", "Audit Authorization document" and "Review my published document". As long as there is one of these three rights, then the published article is already audited, otherwise there is no audit.
So the solution is in the background: system Settings-> user Group Settings-> Information publisher permissions to add "Review my published documents" this permission, there is no such permission by default. Of course, any of the three permissions above is fine.
Then modify the dede/templets/article_add.htm to change the where adminrank in it
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.