![]() |
解决channel 标签只有调用100个栏目
名称:channel
功能:织梦常用标记,通常用于网站顶部以获取站点栏目信息,方便网站会员分类浏览整站信息 语法: Code:
{dede:channel type='top' row='8' currentstyle="<li><a href='~typelink~' class='thisclass'>~typename~</a> </li>"} 文件: \include\taglib\channel.lib.php function lib_channel(&$ctag,&$refObj) 默认底层模板: channel_list.htm 参数: typeid = '0' 栏目ID reid = '0' 上级栏目ID row = '100' 调用栏目数 col = '1' 分多少列显示(默认为单列) type = 'son | sun' son表示下级栏目,self表示同级栏目,top顶级栏目 currentstyle = '' 应用样式 底层字段: ID(同id),typeid, typelink, typename, typeurl,typedir(仅表示栏目的网址) 打开include\taglib\channel.lib.php 修改 Code:
function lib_channel(&$ctag,&$refObj)Code:
function lib_channel(&$ctag,&$refObj) |
| All times are GMT +8. The time now is 04:06 AM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.