Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 1.01 KB

Module configure

Property

  • uploadFolder the directory where stored files. Default is @app/web/uploads/images. If folder not existed, roxy will auto-create it.
  • uploadUrl the url which can get folder link. Default is /uploads/images. If you are using yii2-advanced should include scheme (http://frontend.domain.com/uploads/images).
  • defaultView display type. Default is thumb
  • dateFormat Datetime format. Default is Y-m-d H:i. See: http://php.net/manual/en/function.date.php
  • rememberLastFolder would you want to remember last folder? Default is true
  • rememberLastOrder would you want to remember last order? Default is true
  • allowExtension allowed files extension. Default is jpeg jpg png gif mov mp3 mp4 avi wmv flv mpeg webm

Example

Add to config file:

'modules' => [
    'ckeditorRoxyFileman' => [
        'class' => 'nickdenry\ckeditorRoxyFileman\Module',
        'uploadFolder' => '@frontend/web/uploads/images',
        'uploadUrl' => '/uploads/images',
    ],
],
You can’t perform that action at this time.