PDA

View Full Version : Uploadphoto layout revamp question


skidpics
January 7th, 2009, 12:04 PM
How can we get "Recent Photos" to show on the uploadphoto page for the unregistered users, the base model?

I would like for it to look more like the main page, and just have the upload prompts at the top of the page, kinda like in the announcement area..

Chuck S
January 7th, 2009, 12:19 PM
Thats the code your probally looking for


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

if ( $Globals['dispopular'] == "yes" )
{
display_gallery("most_views", "", $cat);
}

if ( $Globals['disrandom'] == "yes" )
{
display_gallery("random", "", $cat);
}
}

skidpics
January 7th, 2009, 12:20 PM
I can just past that into the uploadphoto.tmpl file or php?

Chuck S
January 7th, 2009, 12:23 PM
You would want that in the php file maybe after the include for the menubar template.

skidpics
January 7th, 2009, 12:27 PM
Thanks Chuck. I will play around with it.

I would like to have the guest uploads basically show up on the main index page if click, with the entire gallery still showing below. That might require some heave duty recoding, so maybe moving the images into the uploadphoto instead, might be easier.

If I come up with a bit of a better layout, I will post some results..

Thanks!

Chuck S
January 7th, 2009, 12:44 PM
Okay have fun playing.