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}
相关推荐
mbcsdn 2020-05-25
IT前沿 2020-04-25
vavid 2010-11-17
tangjianft 2016-10-03
Sincelily 2013-06-25
seo研究小屋 2014-01-09
徐汇业大信息中心 2012-08-11
AnyBisks 2011-12-15
86407413 2015-12-21
baoLidanyang 2010-05-25
zhangwei0php 2019-04-10
PHP100 2019-03-27
PHP100 2019-03-27
PHP100 2019-03-27
PHP100 2019-03-27
PHP100 2019-03-27