Closed (fixed)
Project:
jCarousel
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2009 at 13:08 UTC
Updated:
13 Oct 2009 at 17:20 UTC
Issue: On a page with 2 views carousel blocks, only one is styled by theme. A custom theme is successfully loaded, but ie7 or tango are not.
Solution: use add_css() with 'theme' as second argument (like custom theme branch).
if ($skin == 'tango' || $skin == 'ie7') {
drupal_add_css("$jcarousel/jcarousel/skins/$skin/skin.css", 'theme');
}
instead of:
if ($skin == 'tango' || $skin == 'ie7') {
drupal_add_css("$jcarousel/jcarousel/skins/$skin/skin.css");
}
2 patches attached (stable 6.x-1.1 and 6.x-dev version)
| Comment | File | Size | Author |
|---|---|---|---|
| jcarousel-nocss-2themes-dev.patch | 576 bytes | chirale | |
| jcarousel-nocss-2themes-stable.patch | 594 bytes | chirale |
Comments
Comment #1
robloachThanks! http://drupal.org/cvs?commit=269110