← Prev in month ← Prev in thread

How to use copyright.years template in footer?

From
Earya Raid-Bkbari
Date
2006-10-26T13:15:48+00:00
ID
Thread
How to use copyright.years template in footer?
Hi,

I try to use the copyright.years template from
common/common.xsl in my footer. 

My customization look like:

<xsl:param name="make.year.ranges" select="1"/>

<xsl:template name="footer.copyright">
  <xsl:call-template name="copyright.years">
    <xsl:with-param name="years" select="year"/>
    <xsl:with-param name="print.ranges"
select="$make.year.ranges"/>
    <xsl:with-param name="single.year.ranges"
select="$make.single.year.ranges"/>
  </xsl:call-template>
</xsl:template>

<xsl:variable name="footercandidate">
  <xsl:choose>
      
    <xsl:when test="$sequence = 'odd' and $position =
'center'">
      <xsl:call-template name="footer.copyright"/>
    </xsl:when>
    ...

I would expect that in my footer something like
2001-2006 shows up but that's not happening. 

Is there anything wrong in above snippet?

Regards,
Darya

	

	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
← Prev in month ← Prev in thread