In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-06 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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.