Picture/Video/Sounds Uploader Order

Does anyone know where you can edit the uploader order. I would like to take off the recorder and have the default uploader be regular not flash. Any idea of where to change this?

Quote · 11 Dec 2009

Anyone know how to do this??

Quote · 15 Dec 2009

Hello!

In current D7.0 it can be done via editing code only (in D7.1 it will be defined in modules settings).

For changing order:

Place elements in array generated by method getUploaderSwitcher of class BxDolFilesConfig (file inc/modules/BxDolFilesConfig.php). Method also can be redefined in any files module Config class.

For settings default uploader:

Need to change in next code:

switch ($sMode) {
case 'record':
$sForm = $this->getRecordFormFile();
break;
case 'embed':
$sForm = $this->getEmbedFormFile();
break;
case 'single':
$sForm = $this->getUploadFormFile();
break;
case 'flash':
default:
$sForm = $this->getMultiUploadFormFile();
break;
}

this fragment:

case 'flash':
default:
$sForm = $this->getMultiUploadFormFile();
break;

make it like:

case 'flash':
$sForm = $this->getMultiUploadFormFile();
break;

default:

$sForm = $this->getRecordFormFile();

Regard

Quote · 16 Dec 2009

Ok thanks for the explanation...

but is there a way I can apply this only to the video uploader?

because now it's affects the photo uploader as well.

thanks in advance

Quote · 19 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.