Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Joomla Carousel free Joomla module.

Topic-icon Ordering images

More
6 years 9 months ago #1406 by stanman1
My site URL is as follows:
sandbox.theweboasis.com/miniplaymakeup/

I want the images to appear in a specific order. I saw another post on this same issue and support said that the images are ordered based on the last modified date of the files. My client's web site has 37 images in the carousel. Do I have to modify one file a day for 37 days to get the images to appear the desired order, or is there another way to accomplish my desired effect?

Please Log in to join the conversation.

More
6 years 9 months ago #1414 by milos
We didn't implement any code into the module that controls ordering. Therefore, images are ordered depending of your server settings. It's usually per name (A to Z) or per modify date (the newest or the oldest first). Please try both variants.

We are planning to implement image ordering code in the next PRO version of this module.

Please Log in to join the conversation.

More
6 years 8 months ago #1787 by fmoulton
if you are having issues with ordering and your server. You can add this simple piece of code to make it sort alphabetically or numerically.

Go to modules/mod_hot_joomla/carousel/tmpl and open the file default.php

Around Line 159 you will see the beginning of the for loop
for ($loop = 0; $loop <= $infinite_pics_number; $loop += 1) {

add this line after it

//sort images
sort($infinite_pic);
//end sort

save the file and re-upload it to the server.

Now your images will sort like this:

a-image
b-image

or

1-image
2-image

Happy Coding!!! B)

Please Log in to join the conversation.

Time to create page: 0.115 seconds

Links, Partners and Social Media