Closed (fixed)
Project:
Taskbar
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Sep 2011 at 19:03 UTC
Updated:
11 Oct 2011 at 20:41 UTC
base.css is used in many themes. For example, rubik admin theme. So when I tried it out, it didn't work except with Garland. I believe this should use a more compliant naming structure to avoid this conflict. For example, base should be taskbar_base, taskbar_top, etc. Here's patch for at least the base theme.
Cool looking module / structure. Looking forward to hacking on it as I start adding more node.js to my site.
| Comment | File | Size | Author |
|---|---|---|---|
| taskbar_base.zip | 2.55 KB | markwk | |
| rename-base-css-to-taskbar-base.patch | 3.59 KB | markwk |
Comments
Comment #1
thehong commentedI don't understand why you have conflict. The base.css can be loaded if it's there. Did you check file permission?
Comment #2
markwk commentedI enabled module on my site, set permissions and set different styles but none displayed correctly with my themes (corolla and rubik for admin). It only worked when I enabled Garland. The above patched changes made it work.
Are you not having the same issue with rubik, for example?
Comment #3
markwk commentedHere's an easier way to see the changes I made: https://github.com/markwk/taskbar/commit/136be736f5803841a76ff7e370769c2...
Nothing major, but fixed issue of me, at least.
Comment #4
jcisio commentedOk, in Drupal, when there are multiple CSS files having the same name, only the last one is added. This allows subtheme overriding.
However, it looks like your patch only removes the base/ folder but does not rename it to taskbar_base ;)
Comment #5
thehong commentedThere's no problem to rename the css file. But I dont believe the overriding @jcisio said on #4. I enabled rubik:
#1 http://minus.com/miApz7sUp#1 all base.css file loaded.
#2 http://minus.com/miApz7sUp#2 taskbar's base.css working
#3 http://minus.com/miApz7sUp#3 tao's base.css working.
Comment #6
jcisio commentedIn the Drupal API for drupal_get_css:
In #5 all three base.css are for 3 different targets (all, screen and print) so they are not overriden ;-)
Comment #7
markwk commentedYeah, not sure about what happened on my setup. Not really sure the why, just that changing those variable and css names fixed it.
Also not sure how to patch such that it changes directory names ;) so I included the zip file.
Comment #8
linuxrevolution commentedI have to confirm that also with the amlekula theme the taskbar module is not working..... And we have no time to look further to fix it.... I hope you guys do something for it....
Comment #9
jcisio commentedOk let assign this to me. It's an easy fix, I'll do it later today.
Comment #10
linuxrevolution commentedThanks a lot my friend! We have so much work at linux-revolution.gr and we really want the taskbar module to work also for our site! We 'll wait!
Comment #11
markwk commentedShouldn't be hard this issue. Just change the base / bottom / default / top to taskbar_base, etc.
Comment #12
linuxrevolution commentedIt's an issue that it must be fixed and for the others :) And i have no idea programming etc :)
Comment #13
jcisio commentedFixed in http://drupalcode.org/project/taskbar.git/commit/33a3c94