Page 1 of 1

Order - Phoca Gallery Image Module

Posted: 14 Oct 2012, 20:29
by flaviof
How Can I Order the Phoca Images by Last Category update be the First ??
Every week i'll update it, and the last one have to stay in the beginning

Look:
This case I put "Order Ascending" - All 3 categories is shown, but the Last (14/10 - Party3) is in the end.
Image

This Case i put "Order Desceding" - Only photos of first category is shown (30/09 - Party1)
Image

This case, i tryed by "Date Descending" - Only the photos off last category is shown
Image

What i would like to do ?
Image
Last Uptade (14/10) ------> First Category Update (30/09)

Re: Order - Phoca Gallery Image Module

Posted: 15 Oct 2012, 09:26
by Jan
Hi, if you don't select category, then I think, you need to customize the SQL directly in the module php file - to exactly fit your needs. :idea: (to prevent from ordering categories)

Jan

Re: Order - Phoca Gallery Image Module

Posted: 15 Oct 2012, 13:14
by flaviof
Hi Jan, thanks for your suport

I read the php file.
But I don't know where i have have to change exactly.

In fact, I would need put this code

Code: Select all

order by DESC
on query :P

Re: Order - Phoca Gallery Image Module

Posted: 06 Mar 2013, 20:03
by Jan
Hi,
didn't do such customization yes, so for now I don't know if there need to be done changes in other files except this:

modules/mod_phocagallery_image/mod_phocagallery_image.php

Jan