SP Easy Image Gallery Album Ordering - Question | JoomShaper

SP Easy Image Gallery Album Ordering

MD

Mark Dixon

Extension 2 years ago

Hi,

I have been adding a lot of albums using SP Easy Image Gallery but want to change the order it displays on the site. How do you do this, if it is possible. It seems to display new ones last and I cannot find a way of changing this.

0
3 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #41730

Hello Mark Dixon

In which order do you want to show the albums?

Best regards

0
MD
Mark Dixon
Accepted Answer
2 years ago #41735

Hi Thanks for the reply,

I would like to be able to adjust it, say one week have a particular album first. If thats not possible then the date the images were taken rather than when the album was created, with the newest first.

Basically chaneg the order in the same way you can change the category order by click and drag if possible.

Regards

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #41763

okay, then please go to this location: components/com_speasyimagegallery/models/albums.php and on line 61

$query->order('a.ordering ASC');

change this line. By default it is set to ordering ascending. If you change it to a.created ASC, then it will sort according to the creation date. Hopefully, you are getting this. Sorry, we do not provide customization support. So, I showed you the way.

0