View Full Version : Recent photos order

February 1st, 2009, 01:42 AM

I want to change the recent photos order when click on the category to be down the pictures thumps, how to change these order?

Chuck S
February 1st, 2009, 12:01 PM
can you please explain what you mean by down the pictures thumps

depending on your clarification there may or may not be a way to do it within the program

February 1st, 2009, 04:08 PM
I want the recent photos to be under the thumbnails, i've seen many sites has changed the order but i dont know how to do it.

February 2nd, 2009, 01:09 AM
edit the index.php file.

starting at around 291.

You can move things around a bit from there.

an example would be:

if ( $Globals['mostrecent'] == "yes" && $Globals['recentdefault'] == "yes" && $page == 1 )

Make sure you include it just like I stated above. If you want to leave the old where it was, just line comment each line out by adding // to the front of each line.

Of course, you could also edit the admin setting of: Show recent photos in default location (bottom)? (if No, will display at top)

Located in the layouts section in admin

February 2nd, 2009, 03:57 AM
not that what i want,

this is in the main index page, i wanted to change in the category section, i want recent photos to be on the bottom..

thank you :)

February 2nd, 2009, 10:20 AM
might check out showgallery.php around line 1126.

if ( $Globals['mostrecent'] == "yes" && $Globals['recentdefault'] == "yes" )
display_gallery("latest", "", $cat);

and move it around

Chuck S
February 2nd, 2009, 11:36 AM
Not possible without editing the code as skidpics points out all you can do natively in the code is turn those blocks on or off on the category page.