This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
15 days ago
2
Topic

Hi

with a 'before render' CODE field  I call a JS file which works well.

I can't just use a JS code file because my script has several <script src="/xxx"></script> that can't be understood with the JS code field. I also prefer calling a separate file I can edit in my editor.

However when I look at the HTML page source code I see I need to put the script at the bottom of the page which is not the case.

Whichever seblod position (with seb_one seblod template) my embeded JS code is not moved at the bottom.

is there a way to force the code to be put at the bottom please?

thanks

Cyril

Get a VIP membership
71 Posts
root
13 days ago
0
Level 1

Hi Cyril,

I would try with a module, edited with CodeMirror editor. With a small javascript snippet, by using .appendTo(document.body)

I hope that helps you.

Best regards

13 days ago
0
Level 1

Hi

this is actuallty what we did : using a module we put on the template debug position !

thanks

cyril

Get a VIP membership