Active
Project:
Custom CSS and JavaScript files
Version:
6.x-1.5
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2010 at 00:34 UTC
Updated:
21 Apr 2010 at 10:21 UTC
there needs to be some documentation or at least an example of how to implement it
Comments
Comment #1
AlexisWilke commentedThe module creates two sub-folders under your files folder:
files/customcssjs/css
files/customcssjs/js
Add .css and .js files to those folders. Voilà.
Thank you.
Alexis Wilke
Comment #2
escoles commentedTo clarify: any files added to those directories are then included, on every page?
Comment #3
AlexisWilke commentedYes. All of them. As if the module owned those files.
I intend to offer a patch to make that part better (i.e. use a path such as css/node/123/*.css and css/node/*.css). But that's not done yet. 8-}
That way you could very easily apply a style sheet to a specific page.
Thank you.
Alexis
Comment #4
AlexisWilke commentedBtw, you may also want to look at themekey. It does not allow you to keep the same theme and add a little bit of CSS/JS, but it could be a good solution, depending on what you're looking for...
Comment #5
davebv commentedThank you for contributing to the module, I will update the documentation.