I’m running TYPO 13.1
I have a typoscript file into configsitesmysitesetup.typoscript
that loads my assets for all the pages:
page.includeCSS {}
page.includeJSFooterlibs {}
My CSS/JS are located into the /fileadmin/
My page tree is:
| Page 1
|– Page 1.1
|– Page 1.2
|– Page 1.3
| Page 2
|– Page 2.1
|– Page 2.2
|– Page 2.2
Problem: for pages of “second level” (1.x and 2.x) the JS files and CSS files are loaded relatively and don’t work (mysite.com/page-1/fileadmin/custom.css).
How to load my assets from the root path?
Paolo Deferre is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.