Not quite sure what you mean here. Do you mean switch it from File to Flash or create a whole new group such as MP3?
For creating new Resource types you'll need to create a folder chmodded to 777 in the same spot your other folders are (File, Flash, Media, Image). Then from there 2 files need editing, namely: frmresourcetype.html config.php
In frmresourcetype.html you simply need to add another element to the array: var aTypes = [ ['File','File'], ['Image','Image'], ['Flash','Flash'], ['Media','Media'] ] ; such as so: var aTypes = [ ['File','File'], ['Image','Image'], ['Flash','Flash'], ['Media','Media'], ['MP3','MP3'] ] ; In config.php copy and paste one of the Resource sections such as media: //Media area $fckphp_config['ResourceAreas']['Media'] =array( 'AllowedExtensions' => array("swf","fla","jpg","gif","jpeg","png","avi","mpg","mpeg"), 'AllowedMIME' => array(), 'MaxSize' => 5120, 'DiskQuota' => 20, 'HideFolders' => array("^\."), 'HideFiles' => array("^\."), 'AllowImageEditing' => false );
/*==============================================================================*/ Then basically set all the references to Media whatever you want it to be such as MP3 then change all the values accordingly as well.
That's for adding a resource. To rename one you prob just have to change the names so all instances of media in the above files turn to whatever you want it to be etc -- not sure if that fully works but no harm in trying (make sure to backup your working copies first though).
RE: How to change resource in mcpuk file brow
For creating new Resource types you'll need to create a folder chmodded to 777 in the same spot your other folders are (File, Flash, Media, Image). Then from there 2 files need editing, namely:
frmresourcetype.html
config.php
In frmresourcetype.html you simply need to add another element to the array:
var aTypes = [
['File','File'],
['Image','Image'],
['Flash','Flash'],
['Media','Media']
] ;
such as so:
var aTypes = [
['File','File'],
['Image','Image'],
['Flash','Flash'],
['Media','Media'],
['MP3','MP3']
] ;
In config.php copy and paste one of the Resource sections such as media:
//Media area
$fckphp_config['ResourceAreas']['Media'] =array(
'AllowedExtensions' => array("swf","fla","jpg","gif","jpeg","png","avi","mpg","mpeg"),
'AllowedMIME' => array(),
'MaxSize' => 5120,
'DiskQuota' => 20,
'HideFolders' => array("^\."),
'HideFiles' => array("^\."),
'AllowImageEditing' => false
);
/*==============================================================================*/
Then basically set all the references to Media whatever you want it to be such as MP3 then change all the values accordingly as well.
That's for adding a resource. To rename one you prob just have to change the names so all instances of media in the above files turn to whatever you want it to be etc -- not sure if that fully works but no harm in trying (make sure to backup your working copies first though).