random display

Permalink Browser Info Environment
Hi There,
I would like to ask you if I can set up option for RANDOM displaying the content? If so, how to do this;)

Type: Discussion
Status: New
mackadmin
View Replies:
jb1 replied on at Permalink Reply
jb1
Hi,
You can make the display random by adding 1 line of code to the view.php file (located in /packages/jb_carousel_gallery/blocks/jb_carousel_gallery/).

Between line 4 and 5, just add the following:
shuffle($images);


Hope this helps.

JB
mackadmin replied on at Permalink Reply
mackadmin
Hi There,
That's the great solution.

Thank you;)

-----Original Message-----
From: concrete5 Community [mailto:discussions@concretecms.com]
Sent: 08 June 2012 08:13
To: mack@orangecountry.co.uk
Subject: random display : Forums
jb1 replied on at Permalink Reply
jb1
Happy to help. If you're satisfied with the support I provided, I'd greatly appreciate a positive review in the C5 marketplace:
http://www.concrete5.org/marketplace/addons/carousel-pro/reviews...

JB

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.