首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

currentstyle 织梦_dede currentstyle属性完美解决方案

问题一、dede让channelartlist标签支持currentstyle属性 完美解决 打开include\taglib\channelartlist.lib.php 找到 $pv->Fields...} 网上找到的一般没有加$typeids[$i][‘id’] ==$refObj->TypeLink->TypeInfos[‘topid’] 添加这个后才能对二级栏目也起作用 调用方法: {dede:channelartlist...{/dede:channelartlist} 如果是当前栏目则 li的class属性显示current,否则显示class=” ,也可以修改currentstyle=’这里改为你需要的类名’。...—————————————————- 也可以与arclist标签(详见:http://www.ifreew.com/a/ym/Dedecms/9191.html)相结合使用, 这样调用: {dede:channelartlist...@me = @me[‘currentstyle’]; }else{ @me = “ {@me[‘title’]}“; } [/field:array] {/dede:arclist} {/dede:channelartlist

1.1K20
领券