Closed (won't fix)
Project:
AdaptiveTheme
Version:
7.x-3.x-dev
Component:
Extensions
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2014 at 05:06 UTC
Updated:
21 Jan 2014 at 08:35 UTC
Jump to comment: Most recent
Comments
Comment #1
Jeff Burnz commentedTabs are usually an unordered list and some JS and CSS, there are loads of libraries out there that do this, so you have options to do your tabs any way you like, the theme should not make assumptions about which one you want.
For example Quicktabs module is popular in Drupal and uses jQuery, and you will find many others, doesn't really make sense for a generic theme to lock down to one method, library etc when most themers/site builders have their own favourites.
Comment #2
hussainwebThanks for looking into it. I understand what you mean about quicktabs, lists, JS and CSS. I was hoping that AdaptiveTheme would contain an implementation of a basic tab system similar to what Bootstrap has: http://getbootstrap.com/javascript/#tabs
My motive here was to build a module like Bootstrap Fieldgroup and I wanted to check if it is a good idea to put the tabs system within AdaptiveTheme itself.
Comment #3
Jeff Burnz commentedI would include something like that in the module.
For example in Drupal 8 Adaptivetheme I have removed the Menu Toggle features (mobile menu) in favour of contrib modules taking over these features, its more flexible and gives end users options.
I can see pros and cons for putting things in themes as you describe, the problem space is support and keeping things open for other options, really we start building up so much technical debt it becomes impossible to manage over time, so reducing complexity and and overall size of the toolbox is where I am headed.
Comment #4
hussainwebThanks for your inputs. I appreciate it.