Opened 16 years ago

Closed 16 years ago

#1434 closed New Feature (wontfix)

Resource types are "hard coded" for Browser

Reported by: Kaspars Owned by:
Priority: Normal Milestone:
Component: File Browser Version: FCKeditor 2.5 Beta
Keywords: Cc:

Description (last modified by Alfonso Martínez de Lizarrondo)

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.


Attachments (1)

filemanager-php-resource-types-example-files-v243-v1-Analgiins.rar (1.4 KB) - added by Kaspars 16 years ago.

Download all attachments as: .zip

Change History (5)

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

Description: modified (diff)
Keywords: ConfigAllowedTypes Resource types Alias removed

comment:2 Changed 16 years ago by Frederico Caldeira Knabben

For now, we are proposing this feature with CKFinder.

comment:3 Changed 16 years ago by Frederico Caldeira Knabben

Type: BugNew Feature

comment:4 Changed 16 years ago by Frederico Caldeira Knabben

Resolution: wontfix
Status: newclosed

We are reserving some advanced features, like the one requested in this ticket, to CKFinder.

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