主题 : jeecms 宏 的解析过程?
级别: 童生
UID: 20170
积分:33 加为好友
威望: 0 精华: 0
主题:3 回复:15
注册时间:2011-05-31
在线时长:0
1#   发表于:2011-08-13 15:54:47  IP:222.123.*.*
请问一下标签:[@cms.ArtiList chnlId='9' attr='1' count='6' sysContent='1-4' dateFormat="2" datePosition="1" titLen='23' /]对应的宏是
<#macro ArtiList chnlId=(chnl.id)!'' shopId='' containerId='' pageKey='' attr='' searchKey='' hasImg='0' recommend='0' topLevel='0' orderBy='0'
titLen='20' target='0' headMark='0' lineHeight='' bottomLine='0' ctgForm='0' ctgClass='' dateFormat='0' datePosition='1'
picWidth='' picHeight=''
rollDisplayHeight='28' rollLineHeight='28' rightPadding='20' rollCols='1' rollSpeed='1' isSleep='1' rollSleepTime='50' rollCount='1' rollSpan='1'
flashWidth='296' flashHeight='200' textHeight='20'
isPage='0' count='20' firstResult='0' pageNo=pageNo
style='1' inner='0' isLoop='1' cssClass='' cssStyle='' showLinkStyle='1'
sysTpl='1' sysContent='0' userContent='' sysPage='0' newday='0' userPage='' upSolution='' upWebRes='' pageClass='' pageStyle='' custom=[]>
<#if inner=='0'>
<#local customs = ''>
<#list custom as s>
<#local customs = customs+s>
<#if s_has_next><#local customs = customs+'|'></#if>
</#list>
<@s.action name='ArtiList' namespace='/jeecms/tag/article' executeResult='true'
chnlId=chnlId shopId=shopId containerId=containerId pageKey=pageKey attr=attr searchKey=searchKey hasImg=hasImg recommend=recommend topLevel=topLevel orderBy=orderBy
titLen=titLen target=target headMark=headMark lineHeight=lineHeight bottomLine=bottomLine ctgForm=ctgForm ctgClass=ctgClass dateFormat=dateFormat datePosition=datePosition
picWidth=picWidth picHeight=picHeight
rollDisplayHeight=rollDisplayHeight rollLineHeight=rollLineHeight rightPadding=rightPadding rollCols=rollCols rollSpeed=rollSpeed isSleep=isSleep rollSleepTime=rollSleepTime rollCount=rollCount rollSpan=rollSpan
flashWidth=flashWidth flashHeight=flashHeight textHeight=textHeight
isPage=isPage count=count firstResult=firstResult pageNo=pageNo
style=style cssClass=cssClass cssStyle=cssStyle showLinkStyle=showLinkStyle
sysTpl=sysTpl sysContent=sysContent userContent=userContent sysPage=sysPage newday=newday userPage=userPage pageClass=pageClass pageStyle=pageStyle customs=customs
/>
<#else>
<@s.action name='ArtiListInner' namespace='/jeecms/tag/article' executeResult='false'
chnlId=chnlId shopId=shopId pageKey=pageKey searchKey=searchKey hasImg=hasImg recommend=recommend topLevel=topLevel orderBy=orderBy
isPage=isPage count=count firstResult=firstResult pageNo=pageNo
/>
<#if isLoop=='1'>
   <#list n_pagination.list as item>
<#nested item,item_index,item_has_next/>
</#list>
<#else>
<#nested n_pagination/>
</#if>
</#if>
</#macro>

如果调用宏的时候不带cms.  就会出错  
请问cms 是不是指的路径  如果是之路径  那么这个路径是如何映射的
级别: 童生
UID: 20170
积分:33 加为好友
威望: 0 精华: 0
主题:3 回复:15
注册时间:2011-05-31
在线时长:0
2#   发表于:2011-08-13 15:58:10  IP:222.123.*.*
在线等 虽然服务器很忙
1 共1页