Hello,
So I have set the resources in my config.cfm
I have 4 resources in total pointing to different folders.
Is there a way to add the resouce folders in my constructor so if I only want 1 the other 3 folders so not show up?
<script type="text/javascript">
BrowseServer()
function BrowseServer()
{
var finder = new CKFinder();
finder.basePath = '/ckfinder/'; // The path for the installation of CKFinder (default = "/ckfinder/").
finder.selectActionFunction = SetFileField;
finder.create();
}
So I have set the resources in my config.cfm
I have 4 resources in total pointing to different folders.
config.resourceType[1] = structNew(); config.resourceType[1].name = 'Results'; config.resourceType[1].url = config.baseUrl & 'uploads/results/'; config.resourceType[1].directory = config.baseDir & 'uploads/results/'; config.resourceType[1].maxSize = 0; config.resourceType[1].allowedExtensions = '7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip'; config.resourceType[1].deniedExtensions = '';
Is there a way to add the resouce folders in my constructor so if I only want 1 the other 3 folders so not show up?
<script type="text/javascript">
BrowseServer()
function BrowseServer()
{
var finder = new CKFinder();
finder.basePath = '/ckfinder/'; // The path for the installation of CKFinder (default = "/ckfinder/").
finder.selectActionFunction = SetFileField;
finder.create();
}
Re: setting the resources
Try the resourceType property.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+