Block Gallery forum on CBB Blockgets




fabiomaticus
 
Posts: 7
Joined: Thu Nov 08, 2018 4:00 pm

Block Gallery forum on CBB Blockgets

Postby fabiomaticus » 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
Site Admin
 
Posts: 1663
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)

Re: Block Gallery forum on CBB Blockgets

Postby IvanPF » 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


fabiomaticus
 
Posts: 7
Joined: Thu Nov 08, 2018 4:00 pm

Re: Block Gallery forum on CBB Blockgets

Postby fabiomaticus » Sat Oct 19, 2019 4:06 pm • via Web
Thanks

Who is online

Users browsing this forum: No registered users and 1 guest