How to change the skin?

agrigor1 - February 17, 2009 - 02:00
Project:jCarousel
Version:6.x-1.x-dev
Component:Documentation
Category:support request
Priority:critical
Assigned:Wim Leers
Status:closed
Description

I tried almost everything and failed.

I tried

<?php jcarousel_add('#mycarousel', array ('skin'=>'ie7', 'skin_path'=>'/sites/all/modules/jcarousel/jcarousel/skins/ie7'); ?>

also

<?php jcarousel_add('#mycarousel', ,'ie7', '/sites/all/modules/jcarousel/jcarousel/skins/ie7'); ?>

All failed (amonst other variations of the above).

How on earth am I supposed to set the $skin and $skin_path variables reffered in the READ.txt
The examples in the Help work fine, so I guess I dont use the right way to pass the variables!

Please Help.

#1

Wim Leers - February 17, 2009 - 10:38
Assigned to:Anonymous» Wim Leers
Status:active» postponed (maintainer needs more info)

Remove the leading slash :)

#2

Rob Loach - February 17, 2009 - 19:19
Status:postponed (maintainer needs more info)» fixed

For ie7 or tango, you don't have to pass the skin path since they're shipped with jCarousel ;-) ......

<?php
  jcarousel_add
('#differentskin', array(), 'ie7');
?>

See it live in admin/help/jcarousel.

#3

System Message - March 3, 2009 - 19:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.