Sourcerer

Need to add 1 internal css document + 1 external (Awesome font) + 1 internal javascript file in the head of home page ?

1 month 3 weeks ago #91966

Patrick's Avatar Patrick

Need to add 1 internal css document + 1 external (Awesome font) + 1 internal javascript file in the head of home page only (not the other pages) ?

I’m not sure what of your extension will be the best for that?

Sourcerer, Snippets, version pro or not?

The JS is to add video controls on a full page video in the home page — Video autorun & loop with custom control to un-mute and mute and pause

1 month 3 weeks ago #91967

Andrea Malalana's Avatar Andrea Malalana Moderator

Hey there,

Definitely Sourcerer. The free version should be enough.

See the documentation for including files: www.regularlabs.com/extensions/sourcerer...tyles-and-javascript

You can include them either in your homepage article (if it's an article), or in a module that is only shown in the homepage position, to only trigger it in the homepage.