Block Gallery forum on CBB Blockgets


no_avatar
fabiomaticus
 
Mensajes: 19
Registrado: Jue Nov 08, 2018 4:00 pm
 Jue Oct 17, 2019 2:22 pm • a través de 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
Avatar de Usuario
IvanPF
Administrador
 
Mensajes: 2010
Registrado: Vie Jun 17, 2011 12:15 am
Ubicación: España (Spain)
 Sab Oct 19, 2019 2:12 pm • a través de 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
Código: Seleccionar todo
$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
 
Mensajes: 19
Registrado: Jue Nov 08, 2018 4:00 pm
 Sab Oct 19, 2019 4:06 pm • a través de Web
Thanks

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados