Opened 16 years ago

Closed 16 years ago

#1433 closed Bug (duplicate)

Resource types are "hard coded" for Browser

Reported by: Kaspars Owned by:
Priority: Normal Milestone:
Component: File Browser Version: FCKeditor 2.5 Beta
Keywords: ConfigAllowedTypes, Resource types, Alias Cc:


Sorry for may bad english, it's not may native. First of all, I would like to say big thanks for making better and flexible browser and upload, especially idea for one config for both thees features. It solves many problems. By default FCKEditor provides 4 types of resource types, but thees "Resource types" are "hard coded" for Browser in frmresourcetype.html. The second... for resource type (example: Image) i can specify name Image (which is by default and now is defined in $Config[ 'ConfigAllowedTypes' ]) but real folder name i would like to specify different from resource type name, for example Images (note, last s). Its only for flexibility and backward compatibility with very old FCKEditor versions. As I understand, this I can do specifying $Config[ 'FileTypesPath' ][ 'Image' ] config option. It also need to bear in mind when dynamicly create resource type js array for Browser in frmresourcetype.html. In attachment i add a zip with two files (frmresourcetype.html and my own resourcetypes.js.php) to show how I dynamicly add resource types in browser for PHP coonnector. Of cource, resourcetypes.js.php is included in connector folder.


Change History (1)

comment:1 Changed 16 years ago by Alfonso Martínez de Lizarrondo

Resolution: duplicate
Status: newclosed

dup of #1434

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy