织梦DedeCMS模板页中实现arclist分页效果
1,头部必须引进 dede模板页中实arclist 分页效果 <script src=”{dede:global.cfg_cmsurl/}/include/dedeajax2.js” language=”javascript”></script> <script> function multi(pagenum,tagid) { var taget_obj = document.getElementByIdx_x(tagid); var taget_obj_page = document.getElementByIdx_x(“page_”+tagid); myajax = new DedeAjax(taget_obj,false,false,”,”,”); myajax.SendGet2(“/plus/arcmulti.php?mtype=0&pnum=”+pagenum+’&tagid=’+tagid); myajax = new DedeAjax(taget_obj_page,false,false,”,”,”); myajax.SendGet2(“/plus/arcmulti.php?mtype=1&pnum=”+pagenum+’&tagid=’+tagid); DedeXHTTP = null; } </script> 2,<UL> {dede:arclist row=”100″ tagid=’lists’ order=’id desc’ pagesize=”18″ typeid=”132″ titlelen=”100″} <LI><STRONG><A rel="nofollow noopener noreferrer" href=”[field:arcurl/]“ target=_blank tiltle=”[field:title/]“>[field:title/] </A></STRONG> <P>[field:description function="cn_substr(@me,128)"/]… <A rel="nofollow noopener noreferrer" href=”[field:arcurl/]” target=_blank title=”[field:title/]“>[详情]</A> </P></LI> {/dede:arclist} <div style=”clear:both”></div> {dede:arcpagelist tagid=’lists’/} </UL> (需要注意的是tagid和{dede:arcpagelist tagid=’lists’/} 必须保持一致,可以随意起名字,一个页面中不要有重复,row=”"的条数要写多一点些少会显示到那么多就不会在显示了,不写好像不管用吧)
到此这篇关于织梦DedeCMS模板页中如何实现arclist分页效果就介绍到这了。青春的美丽与珍贵,就在于它的无邪与无瑕,在于它的可遇而不可求,在于它的永不重回。更多相关织梦DedeCMS模板页中如何实现arclist分页效果内容请查看相关栏目,小编编辑不易,再次感谢大家的支持!