目标:
认识JeeCms:
初始环境:环境配置以及系统配置需注意的
开发过程:
在开发过程中遇到的问题:Cms数据的调用、固定标记、源码位置以及对源码的修改
2多级导航
<ul>
[@cms_channel_list]
<li><a href="${base}/"><span>网站首页</span></a></li>
[#list tag_list as c] [@cms_channel_list parentId=c.id]
[#if tag_list?size>0]
<li class="havechild">
[#else]
<li>[/#if][/@cms_channel_list]<a href="${c.url}" target="_self"><span>${c.name}</span></a>
[@cms_channel_list parentId=c.id][#if tag_list?size>0]
<ul>
[@cms_channel_list parentId=c.id] [#list tag_list as c1] [@cms_channel_list parentId=c1.id][#if tag_list?size>0]
<li class="havesubchild">
[#else]
<li>[/#if][/@cms_channel_list] <a href="${c1.url}">${c1.name}</a> [@cms_channel_list parentId=c1.id][#if tag_list?size>0]
<ul>
[@cms_channel_list parentId=c1.id] [#list tag_list as c2]
<li><a href="${c2.url}">${c2.name}</a></li>
[/#list]
[/@cms_channel_list]
</ul>
[/#if][/@cms_channel_list] </li> [/#list] [/@cms_channel_list]
</ul>
[/#if][/@cms_channel_list] </li> [/#list] [/@cms_channel_list]
</ul>