Jump to content

Increase number of items in Downloads whats new carousel ?


SJ77

Recommended Posts

Posted

I figured this out for any who are curious.

Apparently 14 is hard coded and there is no settings in the ACP to adjust this. I don't know about your IPB warranty but if you must change it you can find the file here

applications/downloads/modules/front/downloads/browse.php

To change to 20 for example:

FIND:
 

$new = ( \IPS\Settings::i()->idm_show_newest) ? \IPS\downloads\File::getItemsWithPermission( $newestWhere, NULL, 14, 'read', \IPS\Content\Hideable::FILTER_AUTOMATIC, 0, NULL, TRUE ) : array();

REPLACE WITH:

$new = ( \IPS\Settings::i()->idm_show_newest) ? \IPS\downloads\File::getItemsWithPermission( $newestWhere, NULL, 20, 'read', \IPS\Content\Hideable::FILTER_AUTOMATIC, 0, NULL, TRUE ) : array();

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...