文章介绍
修改方法:
打开 /include/taglib/flink.lib.php 文件
找到
$attlist="type|textall,row|24,tit@ k U N r c b zlelen|24,linktype|1,typeid|0";
修改为
$attlist="type|textall,row|24,titlelen|24,linktype|1,typeid|0,limit|0,10";
找到
$equT h $ J * K ; B eery = "SELECT * FROM dede_flink $wsqla y ` { V E n a order by sortrank asc limit 0,$totalro/ X S Y Y i = vw";
修改为
if(!$limit){
$equery = "SELECT * FROc Z q tM dede_flink $wsql order by sortrank asc limit 0,$totalrow";
}els& o e A fe{
$equery = "SELECT * FROM dede_flink $wsql order by sortrank asc limit $limy N y _ : x 6 hit";
}
调用方法:* u b 4 g
{dede:flink limit='0,7' type='text' titlelen="24" typeid="0"}[field:link /]{/dede:fli1 T m T +nk}
{dede:flink limit='7,7' type='text' titlelen="24" typeid="0"}[field:link /]{/dede:flink}