織夢dede:channel的currentstyle里面加入自增標簽調用
導讀:標簽調用標簽調用模板代碼 {dede:channel type=top row=10 currentstyle= li class = hover a href = ~type網站建設公司公司網站建設。
模板代碼 {dede:channel type=top row=10 currentstyle= li class = hover a href = ~typelink~ ~ rel ~ span ~typename~ / span ~autoindex~ / a / li } li a href = [field:typeurl/]seo網站排名優化軟件 [ field:rel /] span [field:typename/] / span [field:global name=autoindex/] / a / li { […]
模板代碼
營銷型網站建設 {dede:channel type='top' row='10' currentstyle="<li class='hover'><a href='~typelink~' ~rel~><span>~typename~</span>~autoindex~</a></li>"} <li><a href='[field:typeurl/]' [field:rel/]><span>[field:typename/]</span>[field:global name=autoindex/]</a></li> {/dede:channel}修改方法
打開 /include/taglib/channel.lib.php 找到
$linkOkstr = str_replace("~typename~",$row['typename'],$linkOkstr);在它的下面加入
$linkOkstr = str_replace(&百度seo網站優化quot;~autoindex~",$GLOBALS['autoindex'],$linkOkstr);相關網站建設公司公司網站建設。聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-25 ,文章織夢dede:channel的currentstyle里面加入自增標簽調用主要講述里面,標簽,織夢網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_7838.html