dedecms模板中联动菜单高级使用技巧

织梦dedecms无法显示联动菜单的解决办法:
研究源代码后发现是路径设置错误~!
主要引用来调用联动菜单https://www.cqxftyyj.com
<script language="javascript" type="text/javascript" src="/dede/images/enums.js"></script>
<script language=’javascript’ type=’text/javascript’ src=’/dede/data/enums/news.js’></script>
修改customfields.func.php&infoguide.lib.php
把所有的data/enums/修改为/data/enums/
把所有的dede/images修改为/dede/images/
dede首页调动联动菜单
{dede:sql sql="SELECT *  FROM
(dede_addonarticle inner join dede_archives on dede_addonarticle.aid=dede_archives.id)
inner join dede_sys_enum on dede_addonarticle.news=dede_sys_enum.evalue
where dede_addonarticle.news<>0 and dede_archives.channel=1 and dede_sys_enum.egroup =’news’
order by dede_archives.pubdate desc limit 0,6
"}
<li>[[field:ename/]]]<a href="[field:aid runphp=‘yes‘] $url=GetOneArchive(@me);@me=$url[‘arcurl‘];[/field:aid] " target="_blank">[field:title/]</a></li>
{/dede:sql}

相关推荐