织梦系统在默认的情况下,统一类型下最多能显示24个链接,每个链接最多显示24个字节,如何修改?
➣解决办法:
打开文件/include/taglib/flink.lib.php找到$attlist="type|textall,row|24,titlelen|24,linktype|1,typeid|0";
将row和titlelen后的“24”改为理想的数字,保存,后台一键生成即可
Tips:织梦友情链接代码标签调取
<div class="frendlink">
<p>友情链接</p>
<div class="link_txt">
<ul>
{dede:flink row='30' titlelen='60'/}
</ul>
</div>
</div>
.frendlink{
width: 1200px;
margin:0 auto 10px;
background: #fff;
box-shadow: 0 4px 8px rgba(28,31,33,.1);
}
.frendlink p{
position: relative;
height: 50px;
line-height: 50px;
padding: 0 15px;
border-bottom: 1px dotted #e9e9e9;
color: #343535;
border-radius: 2px 2px 0 0;
font-size: 14px;
}
.frendlink ul{
padding: 6px 10px;
}
.frendlink ul li{
display: inline;
margin-right: 10px;
line-height: 2;
}
.frendlink ul li a{
color: #666;
}