" code in the source code; then add the code "" to the page That’s it."/> " code in the source code; then add the code "" to the page That’s it.">

Home  >  Article  >  CMS Tutorial  >  How to increase the number of articles in Dreamweaver and keep them at the top of the list for one day

How to increase the number of articles in Dreamweaver and keep them at the top of the list for one day

藏色散人
藏色散人Original
2019-12-03 09:32:201756browse

How to increase the number of articles in Dreamweaver and keep them at the top of the list for one day

How to keep the article at the top of the list for one day?

Dreamweaver DEDECMS has been added to keep articles at the top for a day

Recommended learning:Dreamweavercms

In the management background, the source code has Code like this:

<td width="250">  
<select name="sortup" id="sortup" style="width:150"> 
<option value=&#39;0&#39;>正常排序</option> 
<option value="7">置顶一周</option> 
<option value="30">置顶一个月</option> 
<option value="90">置顶三个月</option> 
<option value="180">置顶半年</option> 
<option value="360">置顶一年</option> 
</select> 
</td>

Then we can add

703e49eaede404d39352339c95412141stick it to the top for one day4afa15d3069109ac30911f04c56f3338

to the page to achieve this Add the function of sticking a day to the top

We first find article_edit.htm and article_add.htm

in \dede\templets and then find line 423 of

article_edit.htm

article_add.htm Line 502

Insert

703e49eaede404d39352339c95412141Stick for one day4afa15d3069109ac30911f04c56f3338

Tested in 5.7sp1 feasible

The above is the detailed content of How to increase the number of articles in Dreamweaver and keep them at the top of the list for one day. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn