- { CODE }: Select all
// Output page
page_header($user->lang['INDEX']);
- { CODE }: Select all
/**
* RRC of phpbb gallery
* See http://www.flying-bits.org/rrc_configurator.php for more information
*/
$gallery_block = new phpbb_gallery_block();
$gallery_block->set_modes(array('recent', 'random', 'comment'));
$gallery_block->set_display_options(array('albumname', 'imagename', 'imagetime', 'imageviews', 'username', 'ip'));
$gallery_block->set_nums(array('rows' => 1, 'columns' => 4, 'comments' => 5, 'contests' => 1));
$gallery_block->set_pegas(true);
$gallery_block->display();
Open the related template, in case of index.php that is styles/prosilver/template/index_body.html, and find:
- { CODE }: Select all
<!-- INCLUDE forumlist_body.html -->
- { CODE }: Select all
<!-- INCLUDE gallery/recent_body.html -->
After performing that changes you should pruge your cache in the Administration-Control-Panel overview. Sometimes you also need to recompile your template. This can be done in Administration-Control-Panel > Styles > Templates > prosilver > refresh.
