RM 1.0 how to increase the number of authors in the RM (sidebar) ?

Bob

Well-known member
Its hard coded in the controller, so you will have to either edit the file directly or write an addon to handle it.

/library/XenResource/ControllerPublic/Resource.php

find this (around line 107)

PHP:
 'activeAuthors' => $resourceModel->getMostActiveAuthors(5),
Change 5 to the number you want to display.
 

Allan

Well-known member
Its hard coded in the controller, so you will have to either edit the file directly or write an addon to handle it.

/library/XenResource/ControllerPublic/Resource.php

find this (around line 107)

PHP:
 'activeAuthors' => $resourceModel->getMostActiveAuthors(5),
Change 5 to the number you want to display.
Thank you Bob :)

@Devs: This option would also appreciated
 

Shelley

Well-known member
Please add this option into RM 1.1 !!!
I'd suggest this in the resources suggestions area so that it's a configurable option if the devs decide to include it. In my opinion a sound suggestion well worth having in.
 
Top