Theme Joomla Extensions

Power Slide Pro multiple galleries display order

Hello. I have purchased Power Slide Pro, a few weeks ago, and i'm pretty happy with the component and the display module.

However there's one little issue i would like to clarify about the order of the display of multiple galleries, concerning their joomla ID's.

When i'm using multiple galleries in the display module, i've noticed that, no matter in what kind of order you input the ID's from the various galleries, it always starts displaying from ID nº1 to the ID of the last gallery created. Let me demonstrate:

If i indicate the ID numbers in this particular order: 5,2,3,1,4, the module displays them as 1,2,3,4,5, and it makes some sense, but in my case, i need to alter the exhibition order for the thumbnails on the display module, and make the back-end changes be applied in the front-end. Is there anyway to do that? (Besides having to painfully change all the ID's in the database?)

I ask this question because, if i want to do an update and put some new fotos by chronological reference, putting the new ones first, i want to put the correspondent thumbnail for that gallery in the first place on the display module, and i'm afraid i can't do that, because even if if my first configuration is right, by inserting that new gallery ID, i'll be throwing it to the bottom of the galleries display, and i want it to be the first one.

Anyways to solve this using the component and module? Thank You.

LumoMongo replied Hmm... I am not sure about this

Will have to ask Skashi to have a closer look and investigation to see what can be done...

skash replied I have a quick solution for now.

Seeing as this has become a popular request I will also add in the feature to list images and/or galleries ascending or descending in the near future.

But in the meantime what you need to do is open up:
[site name]/modules/mod_powerslidepro/helper.php

To make the galleries display from latest to earliest go to line 381 and change the line from:

. " ORDER BY ordering"


To:

. " ORDER BY id DESC"


To make the images display from latest to earliest do the same thing to line 397

For those of you with a slightly different version of helper.php modify line 382 from:

. " ORDER BY g.ordering, g.id, i.ordering, i.id"


To:

. " ORDER BY g.ordering, g.id DESC, i.ordering, i.id DESC"


Note: g.id is for sorting the galleries, i.id is for sorting the images

Got something to add to the post shown above? Just fill in your details and thoughts below, your post will be added and if you are registered you will be automatically subscribed to this thread.

name
email
website
title
please type the security code
security code
 get notified of replies (members only, register here)

busy

INSIDE: Forum / Extensions

members

search