Ordering Problem

Phoca Gallery - image gallery extension
roemmel
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Mar 2008, 19:22

Hello Guys!

Post by roemmel »

Hello Guys!

I ve a Problem. I want to order the thumbnails by ID desc. The latest entry schoud be on first position.
There is no parameter available. Can you tell me where i can change the select-statement.

Greetings from Austria

Roemmen
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, you can order it

Post by Jan »

Hi, you can order it by ID only in admin view... In frontend, images are displayed by ORDERING....

Jan
If you find Phoca extensions useful, please support the project
roemmel
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Mar 2008, 19:22

Do you already know

Post by roemmel »

Do you already know if there will be a possibility to influence ordering in upcomming Versions? The gallery ist really great, this feature would be nice to have. Lot´s of respect for your work! Great job!

Greetings
Roemmel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, I think no, beca

Post by Jan »

Hi, I think no, because there is a ordering by ORDERING and you can easy change the ordering in administrator...

But if you need, it will be ordered by something other, just change SQL Query:

E.g.:
components\com_phocagallery\models\category.php

row 184 ' ORDER BY ordering'; => ' ORDER BY id'; ....
If you find Phoca extensions useful, please support the project
Post Reply