Announcement

#1 2011-05-28 00:47:16

simonb
Member
2010-10-12
16

Thumbnail display order

Hi,

All my thumbnails are now displayed in reverse alphabetical or numerical order. Not sure what has changed or why. I have not altered any of my settings. I have even tried

<?php

$conf['order_by'] = "ORDER by file ASC";

?>

in my php config file with local editor but it makes no difference.

Last edited by simonb (2011-05-28 13:10:02)

Offline

 

#2 2011-05-28 13:07:03

flop25
Piwigo Team
2006-07-06
7037

Re: Thumbnail display order

did you really whrite with the // in the config file ? // is for putting the line as a comment which will not be interpreted by the server


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2011-05-28 13:09:50

simonb
Member
2010-10-12
16

Re: Thumbnail display order

Hi,

Sorry I did not include the // and I know they should not be there.

I will edit the original message to show I did not include those.

Offline

 

#4 2011-05-28 13:16:37

simonb
Member
2010-10-12
16

Re: Thumbnail display order

Solved it,

in /include/config_default.inc.php

edit

$conf['order_by'] = ' ORDER BY date_available DESC, file ASC, id ASC';

to

$conf['order_by'] = ' ORDER BY file ASC';

Offline

 

#5 2011-05-28 13:40:21

flop25
Piwigo Team
2006-07-06
7037

Re: Thumbnail display order

Noooo ! you will lost your changes the next update !! The local files is here for a reason !
A reason of why you didn't see changes might be the cache used for each user, or the config of the album or the order chosen in the list (on the public part, when browsing an album, there is a way to choose the order). I strongly recommend you to reverse your changes and go back to the local file !


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2011-05-28 13:42:35

simonb
Member
2010-10-12
16

Re: Thumbnail display order

The local file editor made no difference but I have left the line in there for updates.

Thanks for the info.

Offline

 

#7 2011-05-28 19:14:01

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Thumbnail display order

try
$conf['order_by'] = $conf['order_by_inside_category'] = ' ORDER BY file ASC';
(in LocalFilesEditor !)

this parameter should be included in a config form on admin pages

Offline

 

#8 2011-05-29 15:57:41

lisaviolet
Member
san diego, california
2011-01-03
334

Re: Thumbnail display order

simonb wrote:

Solved it,

in /include/config_default.inc.php

edit

$conf['order_by'] = ' ORDER BY date_available DESC, file ASC, id ASC';

to

$conf['order_by'] = ' ORDER BY file ASC';

Changing the local config didn't help me either, it never has worked right since the upgrade, but using the pLoader to upload my images and _not_ the Piwigo upload function worked for me.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact