Uploaded image for project: 'TarteAuCitron'
  1. TarteAuCitron
  2. TARTE-12

We should be able to override attributes given by configuration parameter

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.0, 1.2.0
    • 1.1.0
    • None
    • 4.8.0 M4

      Add a additionnal template into initTarteAuCitron.xsl :

      <xsl:template name="head-js-grpd" >
        <xsl:call-template name="head-js-grpd-wrapper" />
      </xsl:template>        
      
      <xsl:template name="head-js-grpd-wrapper" >
        <xsl:param name="configuration">{}</xsl:param> 
        ...
      </xsl:template> 

      To will be able to override them with only :

      <xsl:template name="head-js-grpd">
        <xsl:call-template name="head-js-grpd-wrapper">
          <xsl:with-param name="configuration">{\"orientation\": \"bottom\",}</xsl:with-param>
        </xsl:call-template>
      </xsl:template> 

            lbouchet Loïc Bouchet
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: