Custom theme views carousel
For a theme I needed the viewscarousel module. I just didnt like the standard themes Tango and Ie7.
Thats why I added some custom themes. to the skins folder "modules/jcarousel/jcarousel/skins"
I thought adding them would extend my select listing the views carousel admin screen
To my surprise..It didn't
Luckily i could add a custompath to my theme do i choose "Custom" and added the path to my cystomtheme: "modules/jcarousel/jcarousel/skins/customtheme/skin.css"
And again...It didnt work
What now?
I did some research on the module and this is what i came up with.
- viewscarousel is working with jcarousel
I am adding my custom theme into the arrays of the modules.
Changing the following line in the viewscarousel and jcarousel module is what made it work.
jcarousel.module
Line 132
if ($skin == 'tango' || $skin == 'ie7')
chanche to
if ($skin == 'tango' || $skin == 'ie7' || $skin == 'yourtheme')
you can extend the list with more than 1 theme
viewscarousel_style_plugin.inc
line 34
'#options' => array('ie7' => t('IE7'), 'tango' => t('Tango'),'custom' => t('Custom')),
change to
'#options' => array('ie7' => t('IE7'), 'tango' => t('Tango'), 'yourtheme' => t('Youtheme'),'custom' => t('Custom')),
I am good for now, but i guess updates will undo my changes.
- blog van admin
- Login om te reageren
