Hi,
I’m wondering. How would you implement per page CSS/JS definitions? At work we use Java,JSP,... which in we program the page itself with functions and all. As far as I can see, ModX uses a completely different approach.
So, instead of creating a different template per page, how could this be implemented the best way? Any advice?
thx,
ATeX
sorry for bumping the thread. I believe I’ve found a theoretical solution.
The point is to keep manager users from changing the site styling. So TemplateVariables are out of the question. This means each page with different functionality will need a separate template. And in order to keep code maintainable, these templates will have to use a snippet to load a series of CSS and JS files.
Am I right?
-ATeX