自学内容网 自学内容网

SiteServer 学习笔记 Day09 STL语言

1、请结合官方文档学习,本文只能帮助你回答一些问题。

2、STL元素:

栏目标签:

2.1、<stl:channel> 获取栏目值:

title(显示栏目的名称。此值是默认的,如果没有指定属性的话):
<stl:channel channelIndex="公司简介"" type="title"></stl:channel>

id(栏目 Id):
<stl:channel channelIndex="公司简介"" type="id"></stl:channel>

channelIndex(栏目索引):
<stl:channel channelIndex="公司简介"" type="channelIndex"></stl:channel>

content(Content):
<stl:channel channelIndex="公司简介"" type="content"></stl:channel>

pageContent(能够翻页显示的栏目正文)

原文地址:https://blog.csdn.net/xingchengaiwei/article/details/137330527

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!