XSLT Templates for Modules - Eonic/ProteanCMS GitHub Wiki

So there are 3 key templates for displaying code related to modules

To Display the HTML Code

<xsl:template select="Content[moduleType='xxx']" mode="displayBrief">

... the code to display the html for the module

</xsl:template>

To Display anything required in the Header

<xsl:template select="Content[moduleType='xxx']" mode="headerOnlyContentJS">

... the code to display anything related in the header like preload instructions

</xsl:template>

To output any javascript required in the footer

<xsl:template select="Content[moduleType='xxx']" mode="ContentJS">

<script> some javascript here </script>

</xsl:template>
⚠️ **GitHub.com Fallback** ⚠️