Support Center

How to integrate a third-party JavaScript widget with your D8 website

Last Updated: Feb 27, 2018 04:20PM EET
Sometimes there is the need to integrate third-party snippets such as those necessary for having a  Comodo TrustLogo on your Drupal 8 website.

So, after having done all the necessary steps to create and verify your Comodo TrustLogo, you should have been left with two code snippets to install them.


Here are the instructions on how to do it:

1. Copy the  html.html.twig file under /core/themes/classy/templates/layout/ and paste it in the /themes/custom/{theme_name}/templates folder.

2. Edit the pasted file and add the first of the snippets shown in the screen capture earlier right above </head>.


3. Add the second snippet right above </body>.


4. Clear Drupal's cache

In case this article leaves any of your questions or concerns unanswered, please, feel welcome to email us or post a public question.

More than (just) Themes
http://www.morethanthemes.com/

Contact Us

[email protected]
http://assets3.desk.com/
false
morethanthemes
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete