織夢(mèng)CMS首頁 列表頁文章按權(quán)重排序織夢(mèng)技巧
導(dǎo)讀:織夢(mèng)技巧織夢(mèng)技巧dede:arclist 按權(quán)重排序輸出文章 需要打開 /include/taglib/arclist.lib.php 找到 else if ($orderby網(wǎng)站建設(shè)哪家好建設(shè)網(wǎng)站公司。
dede:arclist 按權(quán)重排序輸出文章 需要打開 /include/taglib/arclist.lib.php 找到 else if ($orderby == rand ) $ordersql = ORDER BY rand() ; 在它的下面加入 else if ( $orderby == weight ) $ordersql = order by arc.weight $orderWay ; dede:arclist 按權(quán)重排序的標(biāo)簽寫法 { dede :arclist typeid= 1 r […]
dede:arclist 按權(quán)重排序輸出文章
需要打開 /include/taglib/arclist.lib.php 找到
else if($orderby == 'rand網(wǎng)站推廣優(yōu)化seo39;) $ordersql = " ORDER BY rand()";在它的下面加入
建設(shè)網(wǎng)站公司 else if($orderby == 'weight') $ordersql = " order by arc.weight $orderWay";dede:arclist 按權(quán)重排序的標(biāo)簽寫法
{dede:arclist typeid='1' row='8' isweight='y' orderby='weight' orderway='asc'} <li><span>權(quán)重:[field:weight /]</span><a href="[field:arcurl /]">[field:title /]</a></li> {/dede:arclist}dede:list 按權(quán)重排序輸出文章
需要打開 /include/arc.listview.class.php 找到
else if($orderby=="lastpost") {在它的上面加入
else if($orderby == 'weight') { $ordersql = " ORDER BY arc.weight $orderWay"; }如圖
繼續(xù)找到
/hot|click|lastpost改成
/hot|click|lastpost|weight如圖
dede:list 按權(quán)重排序的標(biāo)簽寫法
聲明: 本文由我的SEOUC技術(shù)文章主頁發(fā)布于:2023-05-25 ,文章織夢(mèng)CMS首頁 列表頁文章按權(quán)重排序織夢(mèng)技巧主要講述權(quán)重,首頁,CMS網(wǎng)站建設(shè)源碼以及服務(wù)器配置搭建相關(guān)技術(shù)文章。轉(zhuǎn)載請(qǐng)保留鏈接: http://www.bifwcx.com/article/web_8194.html
為你推薦與織夢(mèng)CMS首頁 列表頁文章按權(quán)重排序織夢(mèng)技巧相關(guān)的文章
-
通王TWCMS 2.0.3網(wǎng)站模板程序下載
(126)人喜歡 2024-01-15 -
Windows官方原版在哪里下載
(175)人喜歡 2024-01-15 -
WordPress網(wǎng)站模板發(fā)帖標(biāo)題顏色設(shè)置
(131)人喜歡 2024-01-07 -
修改discuz論壇帖子標(biāo)題80字符的長度限制
(249)人喜歡 2024-01-07 -
wordpress程序調(diào)用不帶超鏈接的Tag標(biāo)簽
(234)人喜歡 2024-01-05 -
網(wǎng)站在不同時(shí)期需調(diào)整內(nèi)容更新的方向
(112)人喜歡 2023-08-12