聯(lián)系官方銷售客服
1835022288
028-61286886
插件名稱 | 關鍵詞TAG V3.26 |
插件作者 | 迅睿官方團隊 |
最近更新 | 2024-11-24 16:56:48 |
修復debug提示錯誤問題 |
TAG插件使用偽靜態(tài)以后列表分頁提示此標簽沒有設置urlrule參數(shù)。添加urlrule=[page]以后出現(xiàn)無法訪問。
偽靜態(tài)規(guī)則:
"tags\/(.+)" => "index.php?s=tag&name=$1", // tag插件 "tags\/([a-z]+)\/([0-9]+)" => 'index.php?s=tag&name=$1&page=$2',
代碼:
<div id="contentleft"> <div id="imgbox"> <div class=""> <ul class="loglist"> <!-- 調(diào)用全部內(nèi)容模塊,并循環(huán)輸出相關內(nèi)容數(shù)據(jù) --> {cache name=module-content return=c} <!-- 調(diào)用$c.dirname模塊的相關tag內(nèi)容 顯示5條 --> {related module=$c.dirname field=title,url,thumb,description tag=$tag.tags page=1 urlrule=[page] pagesize=10} <li class="con"> </li> {/related} {/cache} </ul> {$pages}
不行,tag詳情頁面沒有分頁功能,例如這樣的 http://m.223987.com/tag/biaoqian.html
回復@迅??蚣芗夹g-劉和平
但是動態(tài)的URL就可以訪問。/index.php?s=tag&name=lihun&page=3 不同頁面列表內(nèi)容也在變化。
因為插件沒支持這種分頁,所以你加了數(shù)據(jù)是不會便的
回復@迅??蚣芗夹g-劉和平 這種沒辦法偽靜態(tài)的嗎?不能的話就暫時這樣部分頁