Brent Wilson Posted February 15, 2010 Posted February 15, 2010 Is it possible to change how many images appear in the recent gallery hook on the forum homepage? Right now its showing 6 but I only want 4 Quote
Administrators AWS Posted February 15, 2010 Administrators Posted February 15, 2010 Yes go to System Settings > IPS Apps > Invision Community Pages. Scroll down to Index Settings: Last 5, Random 5, and Stats and change it there. Quote
Administrators AWS Posted February 15, 2010 Administrators Posted February 15, 2010 Apparently that setting doesn't control the recent image hook. I could have sworn it did. Looks like you have to edit the hook file php to change it. Quote
Mike Posted February 15, 2010 Posted February 15, 2010 Brent, you need to edit this file - /hooks/boardIndexGalleryImages_really long string of numbers.php Find this bit - $img_list->getListingData( array( 'st' => 0, 'show' => 6, 'approve' => 1, 'sort_key' => 'i.idate', 'album' => 0, 'category' => 0, 'allow_cats' => $allow_cats, 'allow_albums' => $allow_albums, ) ); Edit 'show' => 6, to display the number of images you want. I hope this helps! 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.