Hello,
I want to use FCKeditor on my multi-hosting content management system. It will define what site it is actually working with and make a session variable stating what sitenumber (for example sitenumber = 4 for this example site) and then all image or file uploads should go to /images/4/ and so on.
Problem is, how do I make the upload destination folder variable like this?
I am using cfml.
I want to use FCKeditor on my multi-hosting content management system. It will define what site it is actually working with and make a session variable stating what sitenumber (for example sitenumber = 4 for this example site) and then all image or file uploads should go to /images/4/ and so on.
Problem is, how do I make the upload destination folder variable like this?
I am using cfml.
RE: Variable upload paths possible?
Subfolder control for the PHP version is implemented in a patch at:
http://sourceforge.net/tracker/index.ph ... tid=543655
but the patch has yet to be reviewed yet, so obviously use at your own risk.
Using a single global folder is also thus possible as each resource type can just be set to an empty string '' rather than 'Image/', 'File/', etc, or you could use whatever you want, e.g. 'image/'
RE: Variable upload paths possible?
RE: Variable upload paths possible?
Subfolder control for the PHP version is implemented in a patch at:
http://tinyurl.com/pepft
[This goes to http://sourceforge.net/tracker/index.ph ... tid=543655 minus the ; that Sourceforge's forum software seems to be adding after the &.]
but the patch has yet to be reviewed yet, so obviously use at your own risk.
Using a single global folder is also thus possible as each resource type can just be set to an empty string '' rather than 'Image/', 'File/', etc, or you could use whatever you want, e.g. 'image/'