下载地址:http://code.google.com/p/freecms/
ajaxStore
从FreeCMS1.5开始支持
根据参数通过ajax收藏数据。
参数 | 说明 |
objid | 对象id必填 |
objtype | 对象类型必填 info:信息 |
siteid | 站点id |
channelid | 栏目id |
show | 显示内容,默认为收藏 |
spanArr | 此标签会生成span标签,此属性用于设置span标签的属性 |
返回值 | 说明 |
ajaxStoreHtml | 生成的内容 |
此标签依赖的文件
<scripttype="text/javascript"src="${contextPath}js/jquery-1.5.1.min.js"></script>
示例1
收藏信息。
<@ajaxStoreobjid="${currInfo.id}"objtype='info'siteid='${site.id}'channelid='${currChannel.id}';ajaxStoreHtml>
${ajaxStoreHtml}
</@ajaxStore>