Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
SJ77 Posted March 5, 2019 Posted March 5, 2019 Increase number of items in Downloads whats new carousel ? Is it possible? Can someone help? Thank you 🙂
SJ77 Posted March 5, 2019 Author Posted March 5, 2019 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(); Â
Recommended Posts
Archived
This topic is now archived and is closed to further replies.