Block Gallery forum on CBB Blockgets


no_avatar
fabiomaticus
 
Posts: 19
Joined: Thu Nov 08, 2018 4:00 pm
 Thu Oct 17, 2019 2:22 pm • via Web
can I set a limit of images to show in the gallery block?
Using the forum gallery block, I would like to show only the last 10 images attached
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Sat Oct 19, 2019 2:12 pm • via Web
Hi,

At the moment that function is not implemented.
Currently, the only way would be to edit a file

1. Open /ext/canidev/blockgets/blocks/gallery_block.php
2. Find
Code: Select all
$image_limit = 50;

3. change 50 for the value you want.

I will add the feature to be able to edit it from the acp in the next version

Regards
no_avatar
fabiomaticus
 
Posts: 19
Joined: Thu Nov 08, 2018 4:00 pm
 Sat Oct 19, 2019 4:06 pm • via Web
Thanks

Who is online

Users browsing this forum: No registered users and 0 guests