<progress id="pcol7"><sub id="pcol7"></sub></progress><form id="pcol7"></form>
<th id="pcol7"></th>

        <tbody id="pcol7"></tbody>
      1. <dd id="pcol7"><center id="pcol7"></center></dd>
        加入vip [簽到送金幣]
        注冊 登錄 QQ登錄
        織夢無憂,用心做好源碼!7年品牌,值得信賴! 織夢無憂,個個精品,寧缺毋濫!每月購買不少于3000元精品源碼免費分享,早開通,早享受!終身會員臨時大促,只需要128元!新會員開通,直接進入會員中心--購買會員--直接開通即可。

        織夢channelartlist在欄目列表獲取二級三級欄目

        摘要: 效果 /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");i

        /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_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.typeurl/}">{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>

        本文鏈接:http://www.nikanpro.com//dedecmsjiaocheng/chengxukaifa/182933.html

        版權聲明:本站資源均來自互聯網或會員發布,如果侵犯了您的權益請與我們聯系,我們將在24小時內刪除!謝謝!

        公眾號二維碼

        微信公眾號

        //自動推送 又粗又爽高潮午夜免费视频
        <progress id="pcol7"><sub id="pcol7"></sub></progress><form id="pcol7"></form>
        <th id="pcol7"></th>

              <tbody id="pcol7"></tbody>
            1. <dd id="pcol7"><center id="pcol7"></center></dd>