Home Forums HelpUs – Ultimate Crowdfunding Solution I can’t get the filemanager to open Reply To: I can’t get the filemanager to open

#4322

themeqx
Keymaster

Hi

I see an error at your page, maybe you customized, but you forgot something.

Make sure your file resources/views/layouts/admin/footer.blade.php ended with this code.


<script>
    var toastr_options = {closeButton : true};

    //Cookie Notice

    $('.cookie-ok-btn').click(function(e){
        e.preventDefault();
        var element = $(this);
        $.ajax({
            type : 'post',
            url : '{{route('cookie_accept')}}',
            data: {cookie_accept: true, _token : '{{csrf_token()}}'},
            success: function(data){
                if (data.accept_cookie){
                    element.closest('.cookie-notice').slideUp();
                }
            }
        });
    });

</script>

@yield('page-js')

@if(get_option('additional_js'))
{!! get_option('additional_js') !!}
@endif

@include('inc.filemanager')

</body>
</html>

You must need to include filemanager view file before closing the body tag from the inc folder, like this way

@include('inc.filemanager')

so it will work perfectly.

Best Regards