drupal themes: how do I include several css files / js files on my theme's .info file?
I'm creating a new Drupal theme.
Until now, I only needed to include a single css file and a single js file. So my theme.info file had something like this:
stylesheets[all] = css/style.css scripts = js/script.js
At first I tried to just put them there with separate spaces:
stylesheets[all] = css/style.css css/ui-lightness/jquery-ui-1.8.1.custom.css scripts = js/script.js js/jquery-1.4.2.min.js js/jquery-ui-1.8.1.custom.min.js
I emptied drupal's cache and... none of them loaded.
I then tried separating each file with a comma, and flushing the cache again. Same result.
Each file needs it own line like so:
stylesheets[all] = css/style.css stylesheets[all] = css/ui-lightness/jquery-ui-1.8.1.custom.css scripts = js/jquery-1.4.2.min.js scripts = js/reservations.js scripts = js/jquery-ui-1.8.1.custom.min.js