coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Henkka on November 04, 2003, 03:06:28 PM

Title: How to direct link to toprated?
Post by: Henkka on November 04, 2003, 03:06:28 PM
This mybe an easy one but nevertheless:
I want to direct the link from frontpage“s catlist (when clicking a thumbnail) to the toprated page of that album! How is it done?
THANKS!

+ is it easy to get the frontpage cat/album thumbnail showing toprated and not lastuploaded pic?
Title: Come one! No ideas?
Post by: Henkka on November 11, 2003, 10:33:38 AM
Any help on this one?!?!
THANKS!
Title: Re: How to direct link to toprated?
Post by: sdousley on April 19, 2005, 08:39:49 PM
to view all the rated pics add a link to:
http://www.yourdomain.com/coppermine/thumbnails.php?album=toprated

add a link to that in the theme's theme.php file.
Title: Re: How to direct link to toprated?
Post by: krkeegan on April 19, 2005, 09:02:59 PM
Hmm that is not totally correct. He asked for the toprated of that ALBUM. The link provided above will give you the top rated of the entire gallery. To get the album you want:

http://www.yourdomain.com/coppermine/thumbnails.php?album=toprated&cat=-1

Now the cat field MUST remain NEGATIVE and is equal to whatever album number you are clicking on.

And as per the last post you can just modify the theme.php file.

Be carefull though if there are no rated files it will display "no image" even though you have photos in that album.

Kevin
Title: Re: How to direct link to toprated?
Post by: sdousley on April 20, 2005, 09:23:05 PM
Quote from: krkeegan on April 19, 2005, 09:02:59 PM
Hmm that is not totally correct. He asked for the toprated of that ALBUM. The link provided above will give you the top rated of the entire gallery. To get the album you want:

http://www.yourdomain.com/coppermine/thumbnails.php?album=toprated&cat=-1

Now the cat field MUST remain NEGATIVE and is equal to whatever album number you are clicking on.

And as per the last post you can just modify the theme.php file.

Be carefull though if there are no rated files it will display "no image" even though you have photos in that album.

Kevin

oops, my bad, sorry.