How to direct link to toprated? How to direct link to toprated?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

How to direct link to toprated?

Started by Henkka, November 04, 2003, 03:06:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Henkka

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?

Henkka

Any help on this one?!?!
THANKS!

sdousley

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.

krkeegan

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
There are no stupid questions, only stupid people. -Mr. Mackey, South Park

sdousley

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.