DedeEIMS 子栏目导航菜单currentstyle bug
作者:互联网观察 发布时间:Apr 6, 2010 分类:技术
DedeEIMS 的导航菜单默认无法支持currentstyle 。是一个小的bug。 其实很简单。DedeEIMS使用的是dedecms5.3x的内核,并进行了修改,修改的时候没有考虑完全。 查看后台php代码发现。原本调用的是topid上级栏目id这个属性的时候,但数据库内字段已经进行了修改reid才是上级目录的字段,所以造成无法显示currentstyle。很简单。按照以下修改方式即可。 针对DedeEIMS1.1版本 \include\taglib\channel.lib.php 文件。 124行 if( ($row['id']==$typeid || ($topid==$row['id'] && $type=='top') ) && $currentstyle!='' ) 修改为: if( ($row['id']==$typeid || ($reid==$row['id'] && $type=='top') ) && $currentstyle!='' ) 哦了。 运行程序访问页面。一切ok!相关文章
- ios APP开发费用标准是多少
- mht2html mht 转换html工具
- dedecms 编辑器 附件按钮的修复
- python 3.2 mysql模块'int' does not support the buffer interface问题的解决
- 关于“LSM-Tree”
- 高效标准的图片预加载,预读取
- xbox live 用户好友下载器 xbox friendcenter
- cx_Freeze setup file not modle _elementpath error
- POST data should be bytes or an iterable of bytes. It cannot be str.
- 使用cx_freeze打包pyqt4程序为exe
文档信息
- 版权声明:自由转载-非商用-非衍生-保持署名 | Creative Commons BY-NC-ND 3.0
- 原文网址:https://www.tianmeng.org/Technology_221/DedeEIMS-currentstyle/
- 最后修改时间:2010年04月06日 23:52:54
当前暂无评论 »