-
Improvement
-
Resolution: Fixed
-
Major
-
4.0.0
-
None
-
None
In the list of variables frequently used,
<!-- Current environment --> <xsl:variable name="page-path" select="ametys:pagePath()"/> <!-- current page path --> <xsl:variable name="page-id" select="ametys:pageId()"/> <!-- current page id --> <xsl:variable name="lang" select="ametys:lang()"/> <!-- lang code --> <xsl:variable name="site" select="ametys:site()"/> <!-- current site name --> <xsl:variable name="skin" select="ametys:skin()"/> <!-- Name of the skin --> <xsl:variable name="template" select="ametys:template()"/> <!-- Name of the template --> <xsl:variable name="rendering-context" select="ametys:renderingContext()"/> <!-- 'back' if back office -->
you should add this one :
<xsl:variable name="zone" select="ametys:zone('default')"/><!-- Name of the zone -->