Theme Function

Rob Loach - February 17, 2009 - 18:38
Project:jCarousel
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Add a theme function to create the markup for you from an array of items and the carousel settings.

<?php
$items
= array('WimLeers', 'RobLoach', 'chx', 'litwol', 'Rob_Feature', 'merlinofchaos');
$options = array('vertical' => TRUE);
echo
theme('jcarousel', $items, $options);
?>

#1

Rob Loach - February 17, 2009 - 19:15
Status:active» needs review
AttachmentSize
jcarouseltheme.patch 3.89 KB

#2

Rob Loach - February 19, 2009 - 16:51
Status:needs review» fixed

http://drupal.org/cvs?commit=172886

#3

System Message - March 5, 2009 - 17:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.