-
- 4 Posts
how does one attach something to the <head> so that it works on every page
Thanks.
-
- 833 Posts
If you're referring to scripts, stylesheets and all, create a template and fill in your HTML code. Assign the template to your pages (resources) and any element contained in the <head> section will be available on all pages using the said template.
A MODx Fanatic
If you need to make the same thing available in multiple templates, use a Chunk. That's what they are for.
https://rtfm.modx.com/revolution/2.x/making-sites-with-modx/structuring-your-site/chunks
-
- 24,544 Posts
If you only have one Template, you can just modify the head section of that Template.