织梦标签channelartlist在栏目列表获取二级三级栏目
导读:织梦技巧织梦技巧/include/taglib/channelartlist.lib.php 找到 if ($typeid== 0 || $typeid== top ) 改成 网站推广优化seo建设网站公司。
/include/taglib/channelartlist.lib.php 找到 if ($typeid== 0 || $typeid== top ) 改成 if ($typeid== reid ){ global $cfg_Cs;$tid = $refObj-TypeLink-TypeInfos[ id ]; if (!is_array($cfg_Cs)) require_once (DEDEDATA. /cache/inc_catalog_base.inc ); if (! isset ($cfg_ […]
/include/taglib/channelartlist.lib.php 找到
if($typeid==0 || seo网站优化培训$typeid=='top')改成
if($typeid=='reid') { global $cfg_Cs; $tid = $refObj->TypeLink->TypeInfos['id']; if(!is_array($cfg_Cs)) require_once(DEDEDATA."/cache/inc_catalog_base.inc"); if(!isset($cfg_Cs[$tid][0]) || $cfg_Cs[$tid][0]==0) $topid = $tid; else $topid = GetTopid($cfg_Cs[$tid][0]); $tpsql = " reid='$topid' AND ishidden<>1 "; $order = " ORDER BY sortrank ASC"; } elseif($typeid==0 || $typeid=='top')列表页内容页模板调用标签
<ul> {dede:channelartlist typeid=reid} <h2><a href=建设网站公司"{dede:field.typseo网站优化软件eurl/}">{dede:field.typename/}</a></h2> {dede:channel type=son noself=yes} <li><a href="[field:typeurl/]">[field:typename/]</a></li> {/dede:channel} {/dede:channelartlist} </ul>相关网站推广优化seo建设网站公司。声明: 本文由我的SEOUC技术文章主页发布于:2023-05-25 ,文章织梦标签channelartlist在栏目列表获取二级三级栏目主要讲述栏目,标签,织梦网站建设源码以及服务器配置搭建相关技术文章。转载请保留链接: https://www.seouc.com/article/web_8374.html