cms – Adding a widget via .xsl file (UMI)



I want to add the Jivosite code to the UMI site. The templates are in .xsl format Standard addition

<script type="text/javascript" src="xxx"></script>

breaks the mold

I don't really understand how to do this with files of this format. Already added internal script with

<xsl:template match="result[page/@is-default = '1']" mode="scripts-additional">
        <script type="text/javascript" src="{$template-resources}js/portfolio_filter.js{$template-version}"></script>

I know that javascript itself can be added via xsl: text, but what about the link to the script?



The ampersand is often the problem. In xsl, it must be escaped: &amp;

Scroll to Top