Announcement

  •  » Requests
  •  » Best Rated, possible to do more than 15 ?

#1 2011-11-14 09:37:32

IcyHot
Member
2011-03-31
52

Best Rated, possible to do more than 15 ?

I am curious if its possible to edit the code or something so that the "Best Rated" option could display more than the top 15 photos?  I would love to increase that limit to 30 or 45.

Offline

 

#2 2011-11-14 09:50:34

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6753

Re: Best Rated, possible to do more than 15 ?

1) activate [extension by Piwigo Team] LocalFiles Editor from screen [Administration > Plugins > Manage]

2) open [Administration > Plugins > LocalFiles Editor > Local config] and paste the following code:

<?php
$conf['top_number'] = 20;
?>

you can update 20 by as you want


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2011-11-14 10:25:53

IcyHot
Member
2011-03-31
52

Re: Best Rated, possible to do more than 15 ?

Thanks for the fast response, it worked flawlessly.  Is there a document that lists these type of options?

Offline

 

#4 2011-11-14 11:07:59

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6753

Re: Best Rated, possible to do more than 15 ?

In the wiki when a user has time to do


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2011-11-14 11:09:38

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13182

Re: Best Rated, possible to do more than 15 ?

or right now, when you have the "local config" tab opened on screen [Administration > Plugins > LocalFiles Editor], you have a link Display reference file: "config_default.inc.php" top right.


Latest blog post (November 9th 2018) Why Flickr could not remain free for ever

Offline

 
  •  » Requests
  •  » Best Rated, possible to do more than 15 ?

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact