Seite 1 von 1

Add script tag to the <head>

Verfasst: Mi 12. Feb 2020, 10:03
von frakestheartisan
Hello,

I am working on 6.3.9.0 version of webEdition.

I can't find the way to insert a <script></script> tag in the <head> section. I have even tried appending it through the js that gets compiled but no results.

I would appreciate any, I mean any help.

Thanks

Re: Add script tag to the <head>

Verfasst: Mi 12. Feb 2020, 11:36
von blickfang
Hi,

your template should look anything like this:

Code: Alles auswählen

<head>
<we:js id="5" /> // webEdition Tag to include js that is in webEdition
<script src="yoursource.js"></script> // as you would do it in plain html
</head>
<body>
</body>
Bye, Timo

Re: Add script tag to the <head>

Verfasst: Mi 12. Feb 2020, 13:11
von WBTMagnum
Hi,

Are you editing the templates or the documents? If you don't see the templates tab, it might be you don't have the required permissions to edit the templates.


Cheers,
Sascha