I would like to ask whether somebody of you tried to integrate the library bootstrap from adaptivethemes? If this way perhaps you have it good way for all components to be integrated with the convention? Or how is it possible to do it itself?


kingfisher64’s picture

The easiest way to do this is to build a customized version of bootstrap minus pre-existing functionality that AT handles.

Going through the black header menu links on http://twitter.github.io/bootstrap/ one by one and determining what AT offers on first glance it appears that the following does not need to be downloaded in a bootstrap setup:

The scaffolding page is duplicate functionality of AT with the exception of "Responsive utility classes" at the bottom of that page. However https://drupal.org/project/mobile_detect integrates with AT great so there's no real need for that. Each to their own though.

The base css page looks very useful. Could just add a new stylesheet to .info subtheme file with all the bootstrap css in there. I suspect there will be some duplicate code again though so it needs going through with a fine toothcomb.

Same with javascript and components. Most of the bootstrap functionality already exists in the form of other modules within Drupal.

Dropdown menus > https://drupal.org/project/superfish
tabs > http://drupal.org/project/quicktabs
carousel > https://drupal.org/project/jcarousel
tooltip > http://drupal.org/project/beautytips.

I too would like bootstrap integration but only from the stand point of a consistent UI for elements like buttons etc.

If you want it all then there is http://drupal.org/project/bootstrap otherwise http://twitter.github.io/bootstrap/customize.html is your very best friend. :)

Jeff Burnz’s picture

Assigned: Dew » Unassigned
Category: support » feature

Well I would not rule it out, in particular for Drupal 8 its going to be on the list of things to consider. For D7 Bootstrap sort came along a little late in the dev process for AT and I had to bypass it as it meant a lot of rewrites, however since D8 Adaptivetheme will be a total rewrite we could consider it.

I'm gonna turn this into a feature request, and move it to D8 when I create the branch.

Jeff Burnz’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

OK, so long story short I did a lot of evaluation on different SASS/LESS based grid type frameworks for the D8 version of Adaptivetheme and in the end choose Susy.