主题 : 前台显示为树形目录 |
级别: 白丁
|
1# 发表于:2010-06-02 15:02:04 IP:60.122.*.*
|
||||
---|---|---|---|---|---|
级别: 白丁
|
2# 发表于:2010-06-02 20:49:59 IP:59.247.*.*
可以使用自定义标签来实现想要的效果,
自定义标签说明请参考: http://bbs.jeecms.com/fabu/82.htm |
||
---|---|---|---|
级别: 白丁
|
3# 发表于:2010-06-03 15:46:29 IP:60.122.*.*
版主,我按照您说的去看标签了,[@cms.ChnlList id='' inner='1';c,i]
<a href="${c.url}">${c.name}</a>[#if (i+1)%2==0]<br/>[/#if] [/@cms.ChnlList],例子上的代码,我放在index.html中,结果出来后没有超链接,<a href="http://localhost:8080/jeecms/news/index.htm">新闻</a> <a href="http://localhost:8080/jeecms/ent/index.htm">娱乐</a><br/> <a href="http://localhost:8080/jeecms/money/index.htm">财经</a> <a href="http://localhost:8080/jeecms/house/index.htm">房产</a><br/> <a href="http://localhost:8080/jeecms/sports/index.htm">体育</a> <a href="http://localhost:8080/jeecms/tech/index.htm">科技</a><br/> <a href="http://localhost:8080/jeecms/mobile/index.htm">手机</a> <a href="http://localhost:8080/jeecms/car/index.htm">汽车</a><br/> <a href="http://localhost:8080/jeecms/about.htm">关于我们</a> |
||
---|---|---|---|
级别: 白丁
|
4# 发表于:2010-06-03 20:52:42 IP:59.245.*.*
出来后没有超链接??
<a href="http://localhost:8080/jeecms/news/index.htm">新闻</a> 这不是有链接吗? |
||
---|---|---|---|
级别: 举人
|
5# 发表于:2014-06-25 20:00:53 IP:60.48.*.*
学习洗一洗
|
||
---|---|---|---|
1
共1页