Hi - how do you specify your own libraries in the .info file?
Based on the content of the omega.info file, I have tried adding the following to my subtheme.info file:
libraries[rdl_extrajs][name] = RDL js
libraries[rdl_extrajs][description] = Extra bells n whistles for the RDL theme.
libraries[rdl_extrajs][js][0][file] = rdl.js
libraries[rdl_extrajs][js][0][options][weight] = -24
libraries[rdl_extrajs][js][1][file] = jquery.color.js
libraries[rdl_extrajs][js][1][options][weight] = -25
I just made up the "rd_extrajs" as I don't know what this really is.
The two js files are located in the js folder that is within my RDL theme, that is themes/rdl/js
Similarly, how would you add extra css files?
Thanks
Tim
Comments
Comment #1
fubhy CreditAttribution: fubhy commentedBy using "css" instead of "js" in that array:
libraries[rdl_extrajs][name] = RDL js
libraries[rdl_extrajs][description] = Extra bells n whistles for the RDL theme.
libraries[rdl_extrajs][js][0][file] = rdl.js
libraries[rdl_extrajs][js][0][options][weight] = -24
libraries[rdl_extrajs][js][1][file] = jquery.color.js
libraries[rdl_extrajs][js][1][options][weight] = -25
libraries[rdl_extrajs][css][0][file] = rdl.css
libraries[rdl_extrajs][css][0][options][weight] = -24
libraries[rdl_extrajs][css][1][file] = jquery.color.css
libraries[rdl_extrajs][css][1][options][weight] = -25
Comment #2
fubhy CreditAttribution: fubhy commentedComment #3
timtunbridge CreditAttribution: timtunbridge commentedThanks fubhy.
I also discovered the Toggle Libraries and Toggle Styles sections under the Theme - this got things going.