Hi, I just downloaded the twitter_bootstrap 7.x-2.x-dev, twitter_bootstrap_ui 7.x-2.x-dev, and the libraries 7.x-2.0-alpha2 modules. I enabled them all, and created a new directory called libraries under sites/all (i.e. sites/all/libraries). I then downloaded twitter bootstrap from the main page here: http://twitter.github.com/bootstrap/, unzipped, and placed in the libraries directory.

After this, nothing happend. What am I missing to get the CSS/JS linked up?

Comments

jgj’s picture

ensure that your folder in sites/all/libraries is named 'twitter_bootstrap'

the path to bootstrap.css should be sites/all/libraries/twitter_bootstrap/css/bootstrap.css

vacilando’s picture

Could you please put this info on the project page or at least in the readme. I am sure all people do the mistake of putting naming the folder "bootstrap" because of what is at http://drupal.org/project/twitter_bootstrap

Oceanman’s picture

I had troubles the same as #2, on the twitter bootstrap project page it says this

Download Manually

Download the Bootstrap library v2 (http://twitter.github.com/bootstrap/), make sure the resulting folder is named "bootstrap"
Put the bootstrap folder inside the twitter_bootstrap theme folder or your subtheme folder, [path the themes]/twitter_bootstrap/bootstrap/js…

Where it tells you to put it in /twitter_bootstrap/bootstrap/js...

I have tried it both ways and I am still not getting it to work. I found that there are many examples in the docs. How do we put these examples into action?

EDIT

I stopped using this twitter_bootstrap_ui module. I just downloaded (using the gray button) Bootstrap v2 at http://twitter.github.com/bootstrap/ I then put it into the sites/all/themes/twitter_bootstrap/ folder so I now have sites/all/themes/twitter_bootstrap/bootstrap/css and /img and /js with nothing in the libraries and it is working.

I do not see the benefits of this ui module at the moment.

duncan.moo’s picture

I just discovered the benefit of this module, when you do a Drush up your old bootstrap files get deleted if you have not put them in the libraries. This module is a good idea, but please add the config as a readme or on the module page.

playfulwolf’s picture

Priority: Normal » Major

can confirm the same confusion, marking as major, because it does not work at all

vulfox’s picture

I have all three modules enabled and sites/all/libraries/twitter_bootsrap in place.

The theme is still not loading from libraries folder.

in the source we can see:

@import url("http://www.example.com/sites/all/themes/twitter_bootstrap/css/twitter_bootstrap.css So the module does nothing. Why?