cms标签的作用(8)

2018-11-22 20:43

${topic.description!}

[@cms_content_list topicId=topic.id typeId='3' styleList='3-1' titLen='20' count='5' flashWidth='280' flashHeight='200' textHeight='20' channelOption='1' tpl='2'/]

[@cms_content_list topicId=topic.id count='6' orderBy='4' titLen='15' descLen='66' append='...' channelOption='1']

  • [@text_cut s=a.desc len=descLen append=append/]

    [#else]

    [/@cms_content_list]

    [@cms_content_list topicId=topic.id typeId='2' count='8' styleList='2-2' titLen='16' rollDisplayHeight='170' rollCols='4' rollRows='1' rollSpan='1' isSleep='1' channelOption='1' tpl='2'/]

    [@cms_content_page topicId=topic.id count='40' titLen='15' append='...' orderBy='2' dateFormat='MM-dd' channelOption='1']

      [#list tag_pagination.list as a]

      ? [${a.date?string(dateFormat)}] [/#list]

      [/@cms_content_page]

      [@cms_content_list topicId=topic.id count='10' titLen='17' orderBy='8' channelOption='1'] [#list tag_list as a]

      [/#list]

      [/@cms_content_list]

      [@cms_comment_list count='2' recommend='1' textLen='50' append='...']

      ${(c.commentUser.username)!\匿名网友\对

      [@text_cut s=c.textHtml len=textLen append=append/]

      [/@cms_comment_list]

      [/#list]

      [/@cms_topic_list]

      9.3.1专题新闻列表

      [@cms_content_list topicId=topic.id count='6' orderBy='4' titLen='15' descLen='66' append='...' channelOption='1']

      • [@text_cut s=a.desc len=descLen append=append/]

        [#else]

        [/@cms_content_list]

        topicId=topic.id获取专题栏目的id 9.3.2专题图文切换

        [@cms_content_list topicId=topic.id typeId='3' styleList='3-1' titLen='20' count='5' flashWidth='280' flashHeight='200' textHeight='20' channelOption='1' tpl='2'/]

        topicId=topic.id获取专题的id 就是内容类型为焦点的并且同时属于某个专题,会在专题图文切换中显示出来 9.3.3专题排行

          [@cms_content_list topicId=topic.id count='10' titLen='17' orderBy='8' channelOption='1'] [#list tag_list as a]

          [/#list]

          [/@cms_content_list]


cms标签的作用(8).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:第九章 可编程序控制器的应用系统设计

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: