Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blank laravel filemanager after integration #68

Closed
sanketr43 opened this issue May 14, 2016 · 2 comments
Closed

blank laravel filemanager after integration #68

sanketr43 opened this issue May 14, 2016 · 2 comments
Labels
WIP Working in progress.

Comments

@sanketr43
Copy link

filemanager

In the above image you can see the error is showing. I am getting the blank folder of the laravel file manager. I have integrated it with TinyMCE. Please help me to solve the error.
This is the code used for tinyMCE.

project path is : http://localhost/laraveladmin/public/

<script> var editor_config = { path_absolute : "http://localhost/laraveladmin/public/", selector: ".tinymce-default", plugins: [ "advlist autolink lists link image charmap print preview hr anchor pagebreak", "searchreplace wordcount visualblocks visualchars code fullscreen", "insertdatetime media nonbreaking save table contextmenu directionality", "emoticons template paste textcolor colorpicker textpattern" ], toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image media", relative_urls: false, file_browser_callback : function(field_name, url, type, win) { var x = window.innerWidth || document.documentElement.clientWidth || document.getElementsByTagName('body')[0].clientWidth; var y = window.innerHeight|| document.documentElement.clientHeight|| document.getElementsByTagName('body')[0].clientHeight; var cmsURL = editor_config.path_absolute + 'laravel-filemanager?field_name=' + field_name; if (type == 'image') { cmsURL = cmsURL + "&type=Images"; } else { cmsURL = cmsURL + "&type=Files"; } tinyMCE.activeEditor.windowManager.open({ file : cmsURL, title : 'Filemanager', width : x * 0.8, height : y * 0.8, resizable : "yes", close_previous : "no" }); } }; tinymce.init(editor_config); </script>
@streamtw streamtw added bug Behaviors that do not meet expectation. duplicate and removed bug Behaviors that do not meet expectation. labels Jun 20, 2016
@streamtw
Copy link
Member

streamtw commented Jun 29, 2016

@sanketr43 thanks for showing console errors.
We fixed this in 707a1fb, please update to dev-master to check if the issue still exists.

@streamtw streamtw added the WIP Working in progress. label Jun 29, 2016
@streamtw
Copy link
Member

streamtw commented Aug 3, 2016

Please update to v1.6 to check if the issue still exists.

@streamtw streamtw closed this as completed Aug 3, 2016
ana-lisboa pushed a commit to ana-lisboa/laravel-filemanager that referenced this issue Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Working in progress.
Projects
None yet
Development

No branches or pull requests

2 participants