2
ファイルconfig.phpのCkFinder V3を使用すると、異なるresourceTypesが設定されています。サブフォルダはCkFinderのすべてのresourceTypesに作成されます
設定は機能し、左側のパネルには「My Images」と「My Videos」という2つの「エントリ」が表示されます。
「マイビデオ」フォルダを選択してサブフォルダを作成すると、「マイビデオ」と「マイ画像」にサブフォルダが追加されます。
ユーザが決めた場所にのみサブフォルダを追加する必要があります。
私の設定で何が間違っていますか?彼らはdirectory
を定義しないので、あなたは、同じフォルダ(default
バックエンドのルートフォルダ)にポイントを定義している
$config['resourceTypes'][] = array(
'name' => 'Images',
'label' => 'My Images',
'maxSize' => '2M',
'allowedExtensions' => 'gif,jpeg,jpg,png',
'deniedExtensions' => '',
'backend' => 'default'
);
$config['resourceTypes'][] = array(
'name' => 'Videos',
'label' => 'My Videos',
'maxSize' => '1G',
'allowedExtensions' => 'mp4',
'deniedExtensions' => '',
'backend' => 'default'
);