Closed (outdated)
Project:
Quick Tabs
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2011 at 18:06 UTC
Updated:
16 Dec 2024 at 17:43 UTC
Jump to comment: Most recent
Comments
Comment #1
IWasBornToWin commentedsame here, any suggestions>
Comment #2
radimklaskaFor regular quicktabs instances you can use hook_quicktabs_alter, see http://drupalcode.org/project/quicktabs.git/blob/refs/heads/7.x-3.x:/qui...
Example:
The only thing left is to replace
$default_delta = 1;with your logic.$quicktabs->tabsshould contain some more info you can grab on.Comment #3
radimklaskaOh, the thing is, that hook_quicktabs_alter does not fire when quicktabs are used as views style plugin becouse
drupal_alter('quicktabs', $info);is insideif ($info = quicktabs_load($name)) {which isNULLfor views...Marking it as bug because ability to alter quicktabs is broken in this case.
Comment #4
webxtor commentedThat's exactly the case I am trying to find a solution for! To alter the quicktabs used as a views plugin.
Comment #5
gratefulsk commentedI've been wanting to do this for the last couple of years, but have been unable to. Luckily I've had decent workaround using jQuery cookie. What I did was included the jQuery cookie library (https://github.com/carhartl/jquery-cookie) and added the following script to all pages.
Comment #6
Todd Young commentedSome similar notions & tricks recorded here, in case they inspire you: http://allabouttodd.com/tags/quicktabs
Comment #7
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.
If still an issue or needed for 4.0.x (latest branch) feel free to reopen