Mail content overload

Notifications and acknowledgements of receipt can be overwritten. The following XSL can be overloaded:

  • WEB-INF/param/view/stylesheets/forms/mail/results-text.xsl : XSL for mail notification in text format
  • WEB-INF/param/view/stylesheets/forms/mail/results.xsl : XSL for mail notification format HTML
  • WEB-INF/param/view/stylesheets/forms/mail/form-entry.xsl : XSL common to notification and acknowledgement emails for displaying replies (text or HTML)

It is also possible to overload e-mails according to the graphic charter:

  • skins/[SKIN_NAME]/stylesheets/forms/mail/results-text.xsl : XSL for mail notification in text format
  • skins/[SKIN_NAME]/stylesheets/forms/mail/results.xsl : XSL for mail notification format HTML
  • skins/[SKIN_NAME]/stylesheets/forms/mail/form-entry.xsl : XSL common to notification and acknowledgement emails for displaying replies (text or HTML)

 

Example file WEB-INF/param/view/stylesheets/forms/mail/form-entry.xsl

<xsl:stylesheet version="1.0"  
                xmlns:i18n="http://apache.org/cocoon/i18n/2.1"  
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">  
       
   <xsl:import href="plugin:forms://stylesheets/forms/mail/form-entry.xsl"/>  
       
   <xsl:template match="entry" mode="text">  
        <!-- Surcharge des réponses pour le format text (commune à tous les sites) -->  
   </xsl:template>  
       
   <xsl:template match="entry" mode="html">  
 <!-- Surcharge des réponses pour le format HTML (commune à tous les sites) -->  
   </xsl:template>  
</xsl:stylesheet>  

 

 

Back to top

Forms