Allow for custom skin paths
aaron - February 5, 2008 - 18:33
| Project: | jCarousel |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Description
allows for something like
<?php
jcarousel_add('rainbow', drupal_get_path('theme', 'rainbow') . '/jcarousel');
?>| Attachment | Size |
|---|---|
| jcarousel.new-paths.patch | 877 bytes |

#1
oops, diff'd the wrong direction...
#2
Of course. Why didn't I do that right away?
Thanks! :)
RTBC (if I ignore the one space that violates the coding guidelines)
#3
here's another version that will also allow multiple skins to be plastered on a page, if one were so inclined. the version in cvs only allows a single skin to be applied.
#4
hmm... that version would probably add the base js more than once. not good.
here's a fixed patch
#5
this has been ready for months. what's the deal?