Laravel-filemanager: Default view: grid

Created on 29 Nov 2016  路  6Comments  路  Source: UniSharp/laravel-filemanager

Hello,
Can I set default view to be grid/list instead of thumbnails?
I did not see in documentation any mention of this...
Thanks

question

All 6 comments

Add below codes in resources/views/vendor/laravel-filemanager/script.blade.php :

$(document).ready(function () {
    $('#thumbnail-display').click();
});

Worked like a charm! Thanks so much for the quick answer! :)

You are welcome!

For a slightly cleaner solution please check out my PR. You can set the preferred view type to load for the file and image manager from the configuration file.

https://github.com/UniSharp/laravel-filemanager/pull/148

i dont have the file script.blade.php ("unisharp/laravel-filemanager": "^2.1")
how can i do that? sorry by my english
Captura

I think you are about 4 years too late :)
The issue was for a far earlier release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

farshidahmadianpin picture farshidahmadianpin  路  3Comments

lukaszevo picture lukaszevo  路  4Comments

phamtien9819 picture phamtien9819  路  5Comments

t67132 picture t67132  路  3Comments

fahadhowlader picture fahadhowlader  路  5Comments