Drupal Commons Would Be Better Using the Bootstrap Parent Theme Would be better for this
project because

*Load of different icons are included already

*Easier to choose different style of buttons

*Adapts to active nav states

*Custom content

*It's now mobile 1st

Comments

japerry’s picture

Status: Active » Closed (won't fix)

hello! thanks for the input. Similar to drupal core, I don't see us switching or adding bootstrap to commons anytime soon. Any new parent theme would be for a future 4.x release.

please see #1801582: Add a new, non-default framework-based theme to Drupal core for further discussion.

ezra-g’s picture

To add to japerry's answer: A big part of the reason we can't switch the default theme for Drupal Commons within a release cycle is that it would constitute an API change that could break sites already built on top of that version of Commons.

However, you could certainly provide a contributed theme for Commons based on Bootstrap, and we'd be happy to link to it from the Commons project page.

When we get closer to architecting an 8.x-4.x version of Commons, I hope you'll join us in the Commons issue queue to discuss potential changes in architecture at that time.

Thanks!

charlie charles’s picture

After doing a bit more research
maybe bootstrap not the way to go
because it use's less instead of sass

http://www.hongkiat.com/blog/sass-vs-less

@ezra-g o Which is the right commons issue
architecting an 8.x-4.x version of Commons please?

ezra-g’s picture

@charlie charles, feel free to use this issue queue. I suggest adding a "Commons 8.x-4.x architecture" tag to mark these discussions until we've broken ground on a corresponding branch.

charlie charles’s picture

Thank's I've added a tag to this issue now

I thought this was a good article
why not to use bootstrap theme

5 Reason Not To Use Bootstrap

http://www.zingdesign.com/5-reasons-not-to-use-twitter-bootstrap

sass vs less

http://www.hongkiat.com/blog/sass-vs-less/

http://css-tricks.com/sass-vs-less/

Bootstrap only use's less while
Omega use's sass already

Twitter Bootstrap 3 vs Foundation 4 – Which One Should You Use?

http://abetteruserexperience.com/2013/08/twitter-bootstrap-3-vs-foundati...

Foundation 4 offer better than bootstrap 3

RobKoberg’s picture

I use sass with bootstrap, along with compass:

https://github.com/thomas-mcdonald/bootstrap-sass
http://compass-style.org/

The foundation versus bootstrap debate is ridiculous.

charlie charles’s picture

Top 5 Core Differences Between Bootstrap and Foundation

https://medium.com/frontend-and-beyond/8b3812c7007c

1- UI Elements

  • Bootstrap will give almost every UI element
  • Foundation was NOT to make all the web look the same with pre-designed UI elements.

2- EMs VS Pixels

  • Foundation will give you a sass mixin to convert pixels to EMs, so you can still think in pixels and end up with scalable em.

3- Flexible Grid VS Pre-defined Grids

  • Foundation’s grid shrinks and stretchs according to the current browser width.
  • Bootstrap has a pre-defined set of grid sizes for main devices and screens.

4- Mobile First VS Mobile Also

  • Foundation was designed for ANY four corners screen.
  • Bootstrap was designed for mobile, tablet, desktop and large desktops.

5- Community

  • Bootstrap has the larger community.
  • You’ll have to get your hands dirty when using Foundation.
charlie charles’s picture

This module would definitely help to improve the
drupal commons layout

https://drupal.org/project/panels_extra_layouts

Time has come’s picture

Issue summary: View changes

May I request if you successfully use Bootstrap instead of Commons Origins on a site please share your learnings?

The Commons Origins theme is good and integrates a lot of Commons' functions but Bootstrap has become the benchmark. So why has this issue stalled?

I believe many, not just me, would be grateful for shared wisdom on using Bootstrap with Commons, such as:

  • Document how you did it
  • What functions you lose
  • Can you contribute a theme
  • Or why you abandoned Bootstrap and stayed with Commons Origins

As my project does not depend on the Group Browsing Widget, I don't think it would be too much work to switch in my case, am I wrong?

giorgio79’s picture

Title: Use Bootstrap Instead Of Adaptive Theme » Provide a Bootstrap based Commons theme
Version: 7.x-3.3 » 7.x-3.x-dev
Component: Code » Theme
Status: Closed (won't fix) » Active

Bootstrap is now a top 3 theme for Drupal :)
https://www.drupal.org/project/bootstrap

Perhaps, in addition to the Adaptive Theme, we could have another Bootstrap based theme as well for Commons.