織夢后臺只能開啟發(fā)布后更新主頁,列表,和上下頁。有時候我們需要在編輯時也能更新想要的,這樣不用每次去生成。
后臺-系統(tǒng)-基本參數(shù)-性能選項,開啟這3項,或者根據(jù)你需求開啟
0ZU3E21-0
修改后臺編輯文檔對應(yīng)的PHP文件
普通文章模型 /dede/article_edit.php
圖片集模型 /dede/album_edit.php
軟件模型 /dede/soft_edit.php
其他模型 /dede/archives_edit.php
根據(jù)自己要改的來
打開/dede/article_edit.php
找到
$wintitle
在它上面加入
$arcID = $id; $msg = "<div style='line-height:36px;height:36px'>{$msg}</div>".GetUpdateTest();
如圖
2