Home > CMS Tutorial > DEDECMS > 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

藏色散人
Release: 2019-12-03 09:32:20
Original
1778 people have browsed it

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>
Copy after login

Then we can add

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

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template