publiccms中将推荐页的内容显示在页面片段中
生活随笔
收集整理的這篇文章主要介紹了
publiccms中将推荐页的内容显示在页面片段中
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
遍歷的代碼如下:
<#list page.list><ul><#items as a><li><figure><!-- ${a.itemType!} : ${a.itemId!} ,place/redirect:count and 301 jump to a.url,place/click:count and 302 jump to a.url--><a href="${site.dynamicPath}place/redirect?id=${a.id!}" target="_blank"><img src="${a.cover!}"></a><figcaption><a href="${a.url!}" target="_blank">${a.title!}</a>(${a.clicks!})</figcaption>擴(kuò)展字段:<#assign attribute=getPlaceAttribute(a.id)/>${getPlaceAttribute(a.id).lifeteam_jieshao!?no_esc}</figure></li></#items></ul> </#list>
總結(jié)
以上是生活随笔為你收集整理的publiccms中将推荐页的内容显示在页面片段中的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 奶粉123段是什么意思 123段是代表婴
- 下一篇: publiccms实现首页菜单栏下拉的方