how does one attach something to the <head> so that it works on every page
Thanks.
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
-
☆ A M B ☆
- 24,524 Posts
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
If you only have one Template, you can just modify the head section of that Template.