joomla: Head script as very first script?

Pitter
19 Posts
Pitter posted this 08 January 2020

I have problems using cookie solution cookiebot in automatic mode.

Where can I place a script at very first position in the <head> - before template is called?
When I call the script for cookiebot inside the template, the cookiebot script isn't the first script.

Pitter

I have problems using cookie solution cookiebot in automatic mode. Where can I place a script at very first position in the &lt;head&gt; - before template is called? When I call the script for cookiebot inside the template, the cookiebot script isn&#39;t the first script. Pitter
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 09 January 2020

Hello Pitter,

You may add this code from the Home tab >> Settings>> Additional HEAD Html.

Sincerely,
Nettie

Hello Pitter, You may add this code from the Home tab >> Settings>> Additional HEAD Html. Sincerely, Nettie
Pitter
19 Posts
Pitter posted this 09 January 2020

Hello,

There I have already placed my script, but so the template with own scripts is called earlier.

Can I place it directly i.e. inside an index.php ?

Hello, There I have already placed my script, but so the template with own scripts is called earlier. Can I place it directly i.e. inside an index.php ?
Support Team
Support Team posted this 09 January 2020

You can edit index.php directly manually after the template is exported in Joomla -> Templates -> Styles -> open your theme.
You may need to check all files under "templates"subfolder (blog.php, front-page, etc.).

Please, note that in this case the changes will overridden when the theme is updated from Themler.

Gina
Themler Support

You can edit index.php directly manually after the template is exported in Joomla -> Templates -> Styles -> open your theme. You may need to check all files under "templates"subfolder (blog.php, front-page, etc.). Please, note that in this case the changes will overridden when the theme is updated from Themler. Gina Themler Support
You must log in or register to leave comments