Closed (fixed)
Project:
Vertical Tabs
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2009 at 20:16 UTC
Updated:
1 Jun 2009 at 23:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
jwolf commentedI can confirm this.
This module is calling its stylesheet after the theme stylesheets.
Module stylesheets should come before theme stylesheets.
Because the module's stylesheet is loaded last themes can not override the module's styles.
Comment #2
jwolf commentedAttached is a patch to fix this issue.
Comment #3
attheshow commentedSubscribing.
Comment #4
lameei commentedsubscribing!!!!
Comment #5
Rowanw commentedThe last two parameters you added are superfluous
'all', TRUE(i.e. they aren't needed). I may test this patch soon.Comment #6
Rowanw commentedThere doesn't appear to be any reason for the JavaScript and CSS to be loaded via the 'theme' parameter. I've tested the code below with a custom theme as well as Garland. Viewing the CSS in Firebug shows that vertical_tabs has no trouble with CSS specificity, and there is no visual or functional difference as far as I can see.
This loads all the JS and CSS with default parameters:
Comment #7
quicksketchThanks, fixed with attached patch. Vertical tabs sets a weight of 300 in the system table, so that should prevent other modules from loading JavaScript first. The important thing really is just that collapse.js runs before vertical_tabs.js. The use of "theme" was an early hack to prevent other JS from loading after vertical_tabs.js.
Comment #8
quicksketchOops I missed two more calls that added things at the theme layer, now fixed as well.
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/vertical_ta...