Add most viewed in the album list page Add most viewed in the album list page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Add most viewed in the album list page

Started by vishnu, October 13, 2008, 04:50:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vishnu

Hi

Is there a way to display a "most viewed" list in the album list page and along with an album? Please paste the link ot the post if this is already discussed.
Thanks.

Gizmo

When viewing an album and clicking on the "Most Viewed" menu item, you will get the most viewed pictures from that album. You could put a link at the top of the album listing to bring focus to this. Now here's my opinion on what you want to do. If you display a list of the most viewed pictures somewhere on the same page as the album listing then most people will click on those pictures first only increasing the view count further. If you still want to implement this you'll have to code it yourself. Check out the code for case 'topn' in the functions.inc.php file for starters.

If you allow voting then I think having this list a better option.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

vishnu

thank you.. I think adding a link is better. In which file can I add that?