Home  >  Article  >  CMS Tutorial  >  How to implement arclist paging in dedecms5.6

How to implement arclist paging in dedecms5.6

藏色散人
藏色散人Original
2019-12-20 09:51:421847browse

How to implement arclist paging in dedecms5.6

dedecms5.6 How to implement arclist paging?

dedecms5.6 arclist paging use, dedecms version first published arclist paging method, I will repost it

Recommended learning: 梦Weavercms

The code is as follows:

<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script> 
<script> 
function multi(pagenum,tagid) 
{ 
var taget_obj = document.getElementById(tagid); 
var taget_obj_page = document.getElementById("page_"+tagid); 
myajax = new DedeAjax(taget_obj,false,false,&#39;&#39;,&#39;&#39;,&#39;&#39;); 
myajax.SendGet2("/plus/arcmulti.php?mtype=0&pnum="+pagenum+&#39;&tagid=&#39;+tagid); 
myajax = new DedeAjax(taget_obj_page,false,false,&#39;&#39;,&#39;&#39;,&#39;&#39;); 
myajax.SendGet2("/plus/arcmulti.php?mtype=1&pnum="+pagenum+&#39;&tagid=&#39;+tagid); 
DedeXHTTP = null; 
} 
</script> 
{dede:arclist tagid=&#39;index&#39; pagesize=&#39;5&#39;} 
<li><b><a href="[field:arcurl/]" style="color: #FF6633">[field:title/]</a></b></li> 
<p class="my_tj_info">[field:info/]...</p> 
{/dede:arclist} 
{dede:arcpagelist tagid=&#39;index&#39;/}

The above is the detailed content of How to implement arclist paging in dedecms5.6. 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