Pages (2): 1 2   
Member
Member
mironb   06-08-2008, 10:51
#1

Hi
How can I change order of displaying photos in archive view to see on the top of the page new photos (latest) not oldest. I just want to change order of viewed images.
It is hard to find latest photos If I have much of them in one month. You can see it in my home page:
http://fotostacja.pl
http://fotostacja.pl/galeria/?p=archive
Best regards

Administrator
Administrator
acrylian   06-08-2008, 12:34
#2

That is an option of the printAllDates() function: http://www.zenphoto.org/documentation/zenphoto/_template-functions.php.html

Member
Member
mironb   06-08-2008, 13:32
#3

OK so I change in my archive.php:

to

and it's works great
Thanks very much
Miron
http://fotostacja.pl/

Administrator
Administrator
acrylian   06-08-2008, 14:33
#4

Actually `` would be enough, you don't need to write the variables. More about the functions guide here: http://www.zenphoto.org/2008/04/how-to-read-the-zenphoto-functions-guide/

Member
Member
mironb   15-08-2008, 10:11
#5

One thing more. How can I change order of displaying photos in search page ? The same like in archive to see on the top latest photos ?

Miron
http://fotostacja.pl/Portfolio

Member
Member
sbillard   15-08-2008, 15:36
#6

The admin options gallery config page has the search page sort order settings.

Member
Member
mironb   16-08-2008, 10:00
#7

Thanks
I change in
options/image display/Sort images by: date and descending order.
but
now in all albums I have descending order of photos and I can't change this :(
I have 1.1.7 version of zenphoto.

Administrator
Administrator
acrylian   16-08-2008, 12:47
#8

You can set the sort order for every album on each album's edit page separatly.

Member
Member
mironb   16-08-2008, 13:35
#9

I know that but that function does not work properly. I can't uncheck descending order in it. :(

Please try this:

  1. In options/image display/Sort
    choose:
    images by date and descending order

  2. Go to edit/Your album/Sort images by:
    filename
    and try to uncheck "descending"

When I save it it's still checked

Member
Member
sbillard   16-08-2008, 15:24
#10

You need to install the newly released version 1.2 to have full control of the sort order including ascending and descending.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.