Since Adsense has shut me off for some time after illegal clicks or something, I wanted to try out Ezoic.
I'm struggling with the simple task of adding an external .js along with 1 line of js to the <head>-section.
I've tried adding it to helper_js_global right below <!--XF:JS-->
I've tried adding this to PAGE_CONTAINER just above </head>
Also tried it in a seperate template, and added
in PAGE_CONTAINER.
And I can't get it to work. After adding it and reloading the forum my console says "XF core has been double loaded" and the pages are broken.
Anyone got an idea what's wrong here?
I'm struggling with the simple task of adding an external .js along with 1 line of js to the <head>-section.
I've tried adding it to helper_js_global right below <!--XF:JS-->
Code:
<script type="text/javascript" src="//go.ezoic.net/ezoic/ezoic.js"></script>
I've tried adding this to PAGE_CONTAINER just above </head>
Code:
<xf:js src="//go.ezoic.net/ezoic/ezoic.js" />
Also tried it in a seperate template, and added
Code:
<xf:include template="ezoic" />
And I can't get it to work. After adding it and reloading the forum my console says "XF core has been double loaded" and the pages are broken.
Anyone got an idea what's wrong here?
Last edited: