常用的标签

头部常用:
<meta name="Description" content="<stl:content type="Title"></stl:content>"/>
<meta name="Abstract" content="<stl:content type="Summary"></stl:content>"/>
<meta name="Keywords" content=""/>
<title>{Stl.SiteName}<stl:channel type="Title" leftText="-" rightText="-"></stl:channel><stl:content type="Title"></stl:content></title>
<link href="{Stl.SiteUrl}/css/main.css" type="text/css" rel="stylesheet" />
-----------------------------------------------------------------------------------------------------------------------
非首页文件路径:
{Stl.SiteUrl}/
-----------------------------------------------------------------------------------------------------------------------
栏目图片/flash:
<stl:flash upLevel="1" altSrc="@/images/banner.swf" width="928" height="160"></stl:flash>
altSrc:当前flash不存在的时候调用的flash文件。
-----------------------------------------------------------------------------------------------------------------------
包含文件:
<stl:include file="include/header.html"></stl:include>
<stl:include file="include/footer.html"></stl:include>
-----------------------------------------------------------------------------------------------------------------------
带弹出菜单的导航:
<stl:a channelIndex="首页">首 页</stl:a>
<stl:channels channelIndex="首页" groupChannel="主导航">
  <stl:menu>
    <stl:a><stl:channel type="Title"></stl:channel></stl:a>
  </stl:menu>
</stl:channels>
-----------------------------------------------------------------------------------------------------------------------
投票图标
http://192.168.90.181/SiteFiles/Inner/images/survey/vote.gif
查看图标
http://192.168.90.181/SiteFiles/Inner/images/survey/view.gif
  -----------------------------------------------------------------------------------------------------------------------
在内容列表中显示内容链接:
下面的例子显示栏目索引为"新闻"的栏目的内容列表,内容链接的提示为内容标题。
<stl:contents channelIndex="新闻" width="80%" border="0">
<stl:a title="{Content.FullTitle}" target="_blank"></stl:a>
</stl:contents> 

  title="{Content.FullTitle}"
-----------------------------------------------------------------------------------------------------------------------
是否清除HTML标签:(比如调用文章内容时可以只调用内容的‘文字’,不调用内容里面的‘图片’)
isClearTags="true"
-----------------------------------------------------------------------------------------------------------------------
搜索标签:
<stl:searchInput searchUrl="@/utils/search.html">  
    查询关键字:   <input type="text" id="word" />      
    <INPUT id="submit" value="搜 索" />  
</stl:searchInput>
-----------------------------------------------------------------------------------------------------------------------
内容列表:
<stl:contents channelIndex="" totalNum="" titleWordNum=""></stl:contents>
-----------------------------------------------------------------------------------------------------------------------
子页面sidebar菜单,当前选中样式:
<ul>
    <stl:channels upLevel="1">
       
      <stl:channelsItem type="SelectedItem" selected="Current">
        <li class="now_nav"><stl:a><stl:channel type="Title"></stl:channel></stl:a></li>
      </stl:channelsItem>

      <stl:channelsItem type="Item">
        <li><stl:a><stl:channel type="Title"></stl:channel></stl:a></li>
      </stl:channelsItem>

    </stl:channels>
</ul>
-----------------------------------------------------------------------------------------------------------------------
申请职位:
<a href="{Stl.SiteUrl}/utils/jianli1.html?jobID={Content.ContentID}">申请该职位</a>
说明:
{Stl.SiteUrl}/utils/jianli1.html 为简历单页面模板 @/utils/jianli1.html
?jobID={Content.ContentID} 表示为当前职位投递简历
这个链接写在内容模板,内容为招聘职位
-----------------------------------------------------------------------------------------------------------------------
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值