laravelでファイルを管理するためにelfinder filemanagerを使用しています。jquery モバイルも使用しています。
問題は。ファイルマネージャーはオフラインで動作します。オンラインではありません。
これは私の filemanager.php ビューの最初の部分です:
@extends('master')
@section('content2')
{{HTML::style('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css', array('media' => 'screen'))}}
{{HTML::script('http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js', array('type' => 'text/javascript'))}}
{{HTML::script('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js', array('type' => 'text/javascript'))}}
{{HTML::style('filemanager1/css/elfinder.min.css', array('media' => 'screen'))}}
{{HTML::script('filemanager1/js/elfinder.min.js', array('type' => 'text/javascript'))}}
<!-- Mac OS X Finder style for jQuery UI smoothness theme (OPTIONAL) -->
{{HTML::style('filemanager1/css/theme.css', array('media' => 'screen'))}}
{{HTML::script('filemanager1/js/i18n/elfinder.nl.js', array('type' => 'text/javascript'))}}
これは、ビューをロードする master.php の最初の部分です。
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
{{HTML::script('//code.jquery.com/jquery-1.9.1.js', array('type' => 'text/javascript'))}}
{{HTML::script('//code.jquery.com/ui/1.10.4/jquery-ui.js', array('type' => 'text/javascript'))}}
<link rel="stylesheet" href="/resources/demos/style.css">
<?php
/// DIT WAREN DE IMPORTS voordat de agenda niet meer werkte.
//echo HTML::script('http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js', array('type' => 'text/javascript'));
//echo HTML::script('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js', array('type' => 'text/javascript'));
//echo HTML::script('http://code.jquery.com/jquery-1.9.1.js', array('type' => 'text/javascript'));
//echo HTML::script('http://code.jquery.com/ui/1.10.3/jquery-ui.js', array('type' => 'text/javascript'));
?>
<!-- Normal -->
{{HTML::script(asset('js/bootstrap.js'), array('type' => 'text/javascript'))}}
{{HTML::script(asset('js/expandingbox.js'), array('type' => 'text/javascript'))}}
{{HTML::script(asset('js/jscolor/jscolor.js'), array('type' => 'text/javascript'))}}
{{HTML::style(asset('css/bootstrap.css'), array('media' => 'screen'))}}
</head>
また、オフラインで、すべてのスタイルとスクリプトをマスター ファイルに入れようとしました。その後、ファイルマネージャーも機能しなくなります。
この部分は後で追加しました
インスペクタにエラーが表示されます。私のリンクの1つ:
http://dev-certificering.safetyanalyse.nl/public/laravel4_test2/public/filemanager1/css/elfinder.min.css
しかし、私はオンラインで何も変更できないようです。ビューの elfinder インポートの 1 つを次のように変更しました。
{{HTML::script('filemanager1/js/i18n/elfinder.nl.js??', array('type' => 'text/javascript'))}}
インスペクタータイプ ctrl-u を開くと、古いページが表示され続けます。数日前から。クロムで現金とクッキーをクリアしてみました。エクスプローラーも試しました。
それらはすべて、古いlaravelのインポートを示しています。laravelには現金がありますか?