By Adam O. on Wednesday, 26 August 2015
Likes 0
Views 0.9K
Votes 0
Hi there!

I've got question about Thumbnails block in composer.

After selecting photos from my hard drive and after loading it to my blog post, by default thumbnails view is set to 'Stack' view and divided to 4 columns.

My question is - where can I set default option for it, to 'Grid' view and 3 columns?

I'll set it to default option for every thumbnails block.

Where can I set this?

I'll be vergy grateful for your help!
Best regards!
Adam
Take a look at the file /administrator/components/com_easyblog/includes/blocks/handlers/thumbnails.php and see the method @data
·
Thursday, 27 August 2015 03:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Adam,

I am sorry that delay of this reply,

Unfortunately that we do not have setting for set default at this point of time.

But it would be best if you can submit a feature request regarding this in our voice page -> http://stackideas.com/voices/easyblog, so everyone else could vote for it, the more people request on this, and we will priority consider it.
·
Wednesday, 26 August 2015 17:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

thank you for reply!

Yes, I know that it's not possible by backend settings, but how to hack the code - in which file?

I tried to make changes in wireframe/composer/blocks/handlers/thumbnails/fieldset.php but with no result.

So please... tell me where and how to hack the code to set this to 'Grid 'layout and 3 columns by default.

At now, by default it is set to 'Stack' and 4 columns, so it has to be defined in some file. Please... let me know where :-)

I'll be very grateful for your help!
Best regards!
Adam
·
Wednesday, 26 August 2015 18:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark for your tip!

This short information is exactly what I need :-)

With edited html.php file in handlers works great!


Best regards!
Adam
·
Thursday, 27 August 2015 20:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Adam, glad that your issues are resolved now
·
Friday, 28 August 2015 03:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post