彩票走势图

JEECMSv9.x常用功能标签大全-藏铭山软件

彩票走势图

 咨询热线

18969909123

微信扫码咨询

收 起 

咨询热线

返回顶部

JEECMSv9.x常用功能标签大全

发布时间: 2018-01-11 18:09:22 作者:本站编辑 来源: 本站原创 浏览次数:1254466

Tag关键词分页 [@cms_tag_page]

[@cms_tag_page count='8']

[#list tag_list as tag]

<a href="${base}/tag/${tag.id}.jspx" target=&quot;_blank">${tag.name}</a>[#if tag_has_next]|[/#if][/#list]

[@cms_pagination sysPage='1'/]

[/@cms_tag_page]

参数详解:

count: 每页数


Tag关键词列表 [@cms_tag_list]

[@cms_tag_list count='8']

[#list tag_list as tag]<a href="${base}/tag/${tag.id}.jspx" target="_blank">${tag.name}</a>[#if tag_has_next]|[/#if][/#list]

[/@cms_tag_list]

参数详解

count:显示个数

作用:显示tag列表 


全文检索分页 [@cms_lucene_page]

[@cms_lucene_page q=q channelId=channelId startDate=startDate endDate=endDate descLen='170' append='...' count='10' ]

搜索结果分页标签

参数详解

q: 搜索关键字

siteId:站点ID

channeled:栏目ID

startDate::开始时间

endDate:结束时间

count 分页数

作用:对搜索结果分页

具体例子:

 [#if q??]

    [@cms_lucene_page q=q channelId=channelId startDate=startDate endDate=endDate descLen='170' append='...' count='10' ]

    <div class="searchNav">您搜索的“<span>${input!}</span>”, 共有<span>${tag_pagination.totalCount!}</span>个结果</div>

    <div class="searchList">

      [#list tag_list as s]

      <div class="item&quot;>

        <div class="search-title"><a href="${s.url}" title="${s.title}" target="_blank">${s.title?replace('${q!}', "<span>${q!}</span>")}</a></div>

        [#if s.txt??]

        <div class="search-txt"&gt;

          [#assign bb=s.txt?replace("<(S*?)[^>]*>.*?|<.*? />","","ri")?replace("&nbsp;","","ri")/]

          [@text_cut s=bb?replace('${q!}', "<span style='color: red;'>${q!}</span>") len=descLen append=append/]

        </div>

        [/#if]

        <div class="search-date"><a href="${s.ctgUrl}" target="_blank">${s.ctgName}</a><em>${s.releaseDate}</em>浏览 <span>${s.views}</span></div>

      </div>

      [/#list]

    </div>

   <div class="pagination">[@cms_pagination sysPage='1'/]</div>

     [/@cms_lucene_page]

 

全文检索列表 [@cms_lucene_list]

搜索结果列表标签

参数详解

q: 搜索关键字

siteId:站点ID

channeled:栏目ID

startDate::开始时间

endDate:结束时间

作用:对搜索结果列表

具体例子:

<div class="w96&quot; style="min-height:500px;&quot;>

   [#if q??]

   

   [@cms_lucene_list q=q channelId=channelId descLen='100' append='...' count='4' sysPage='1'  ]

      <div class="search_msg">

    您搜索的<span class="red">“${q!}”</span>,共有<span class="red">${tag_list?size} 条</span>查询结果,[@process_time/]

   </div>

   [#list tag_list as s]

       &lt;dl class="list3">

    <dt><span>[<a href="${s.ctgUrl}" target="_blank">${s.ctgName}</a>]</span>  <a href="${s.url}" title="${s.title}" target="_blank">${s.title}</a></dt>

    <dd class="zy">[@text_cut s=s.description len=descLen append=append/]</dd>

    <dd>来源:<a href="${s.originUrl!}" target="_blank">${s.origin!'本站原创'}</a>&nbsp;&nbsp; 浏览次数:${s.views}次&nbsp;&nbsp; 发布时间: ${s.releaseDate} </dd>

    </dl>

    [/#list]

  &nbsp;   [/@cms_lucene_list]   

         [/#if]  

  </div>