wap栏目信息列表.config

来自「动易SiteFactory网上商店系统正式版动易SiteFactory网上商店系」· CONFIG 代码 · 共 43 行

CONFIG
43
字号
<root>
  <LabelType>WAP</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
  <LabelIntro>
  </LabelIntro>
  <LabelDataType>sql_sysquery</LabelDataType>
  <LabelSqlString>SELECT TOP @shownum PE_CommonModel.* FROM PE_CommonModel  WHERE  NodeID in (@arraynodeid) AND Status=99 order by UpdateTime</LabelSqlString>
  <LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:output method="html" />
<xsl:template match="/NewDataSet">
<xsl:choose>
<xsl:when test="count(Table) = 0">
<p>本栏目尚无内容!</p>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="Table">
<p>
<a>
 <xsl:attribute name="href">
 <xsl:value-of select="pe:SitePath()"/>/wap/wapitem.aspx?id=<xsl:value-of select="GeneralID"/>
 </xsl:attribute>
 <xsl:value-of select="Title"/>
</a>
</p>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
  <attributes>
    <name>arraynodeid</name>
    <default>1,2,3,4</default>
    <intro>栏目ID组</intro>
  </attributes>
  <attributes>
    <name>shownum</name>
    <default>10</default>
    <intro>列表数量</intro>
  </attributes>
  <OutType>sin</OutType>
  <CacheTime>0</CacheTime>
</root>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?