PDA

View Full Version : Recent photos order


Hussain_a
February 1st, 2009, 12:42 AM
Hi.

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, 11:01 AM
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

Hussain_a
February 1st, 2009, 03: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.

skidpics
February 2nd, 2009, 12: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 )
{
display_gallery("latest");
}

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

Hussain_a
February 2nd, 2009, 02: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 :)

skidpics
February 2nd, 2009, 09: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, 10: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.