1. underwatercolours
  2. Sherlock Holmes
  3. Commercial Templates
  4. Thursday, 26 March 2015
  5.  Subscribe via email
I am loving the Carousel module, but I have one small feature request. Could you find it in your heart to add the option to designate a starting column other than column 1? I'm not sure how difficult that would be, or if there's another way, but here's a scenario:

I have a photo club that has a contest every month. The winner of the contest ends up on the home page in the Carousel with the older ones behind it, so the newest winner (column 1) is the first thing people see when they go to the site. Right now I would have to move all the code in the rest of the columns over each month to put the newest winner in the first column. If there is any easier way to do this, I'd absolutely love to hear about it. I see so much potential for this module and with this one added features, even more.

Thanks again for all the great templates!
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

The only solution I can think of that is possible with this module is to reverse the carousels displayed. This way the first carousel displayed will be the last entered. You can do this by adding the following to your modules default.php (../modules/mod_j51carousel/tmpl/default.php)...


// Reverse array
rsort($image_ref);


You can add this just after the following (approx. line 67)...


// Toggle Shuffle Images
$image_cnt = count ($image_ref);
if ($j51_randomize ) {
shuffle ($image_ref);
}


CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Works perfectly! Thank you!
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok