Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11077

Skin developper should be able to remove the attribute class without overriding the whole template

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.0
    • 4.5.0
    • None
    • 4.5 RC2

      Into the search service : plugin-web\pages\services\search\helpers\html\hits\default.xsl

       <xsl:template match="hit">
              <xsl:attribute name="class">
                  <xsl:apply-templates select="." mode="class-attribute"/>
              </xsl:attribute>
              <xsl:apply-templates select="." mode="image"/>
              <xsl:apply-templates select="." mode="title-link"/>
              <xsl:apply-templates select="." mode="abstract"/>
              <xsl:apply-templates select="." mode="date"/>
              <xsl:apply-templates select="." mode="others"/>
          </xsl:template>

      Please let us to remove the class attribute 

            raphael Raphaël Franchet
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: