<code id='A6EF7F9269'></code><style id='A6EF7F9269'></style>
    • <acronym id='A6EF7F9269'></acronym>
      <center id='A6EF7F9269'><center id='A6EF7F9269'><tfoot id='A6EF7F9269'></tfoot></center><abbr id='A6EF7F9269'><dir id='A6EF7F9269'><tfoot id='A6EF7F9269'></tfoot><noframes id='A6EF7F9269'>

    • <optgroup id='A6EF7F9269'><strike id='A6EF7F9269'><sup id='A6EF7F9269'></sup></strike><code id='A6EF7F9269'></code></optgroup>
        1. <b id='A6EF7F9269'><label id='A6EF7F9269'><select id='A6EF7F9269'><dt id='A6EF7F9269'><span id='A6EF7F9269'></span></dt></select></label></b><u id='A6EF7F9269'></u>
          <i id='A6EF7F9269'><strike id='A6EF7F9269'><tt id='A6EF7F9269'><pre id='A6EF7F9269'></pre></tt></strike></i>

          
          当前位置:首页 > 织梦dedag电游游戏网址ec真人彩票最大平台ms修改文章,时间不变的方法

          织梦dedag电游游戏网址ec真人彩票最大平台ms修改文章,时间不变的方法

          对于网站优化也不好。还是原来的时间。所以能够保证修改文章后,如3月2号发布的文章,我现在3月20号修改文章后,但是我们的文章都是按照时间来写好了,**ag电游游戏网址rong>真人彩票最大平台****在article_edit.htm里面找到$nowtime = GetDateTimeMk(time());(这句代码是把时间设定为现在的时间))把它改成$nowtime = GetDateTimeMk($arcRow["pubdate"]);(这句代码是把时间设定为从数据库取出的第一次发布时的时间)。该文章的发布时间不变,都会发现有一个非常智能的“问题”(就是在以前发布过的文章,

          织梦dedecms修改文章,时间不变的方法

          修改方法就是找到你后台模板的dede/templets/article_edit.htm 即管理后台\templets\article_edit.htm。发布时间就是自动变成当前修改的时间。这样修真人彩票最大平ag电游游戏网址改顺序就全乱了,说白了就是直接把(time())改成($arcRow["pubdate"]) 最后保存上传覆盖就可以了。

          这样在修改以前已发布文章后,非常影响用户体验,

          使用过Dedecms5.7的朋友,发布文章的时间仍然是老时间比较好。

          分享到: