I use FCK editor in a system where uploaded files shouldn´t be shared among users, therefore I create unique folders for each usergroup.
It all works fine when the "Insert/edit image" icon is clicked, files are stored under folder upload.
BUT, here is the problem:
When the "Insert/edit link" icon is used, the Editor creates the UserFiles folder.. and stores the files there instead of folder upload!
How to pass variables to config- files, like in code example below, when "Insert/edit link" icon is used???
Working code for upload using "Insert/edit image" icon:
----------------------------------------------------
oFCKeditor.Config("ImageBrowserURL") = "../filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/upload/comp_" & Session("companyId") & "/"
asp/connectors/config.asp
ConfigUserFilesPath = request.querystring("ServerPath")
upload/asp/config.asp
ConfigUserFilesPath = request.querystring("ServerPath")
Thanks in advance!
It all works fine when the "Insert/edit image" icon is clicked, files are stored under folder upload.
BUT, here is the problem:
When the "Insert/edit link" icon is used, the Editor creates the UserFiles folder.. and stores the files there instead of folder upload!
How to pass variables to config- files, like in code example below, when "Insert/edit link" icon is used???
Working code for upload using "Insert/edit image" icon:
----------------------------------------------------
oFCKeditor.Config("ImageBrowserURL") = "../filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/upload/comp_" & Session("companyId") & "/"
asp/connectors/config.asp
ConfigUserFilesPath = request.querystring("ServerPath")
upload/asp/config.asp
ConfigUserFilesPath = request.querystring("ServerPath")
Thanks in advance!
RE: Upload in Insert/edit link saves in UserFiles
Maybe someone else will experience this problem in the future.
Solved it by adding following line:
oFCKeditor.Config("LinkBrowserURL") = "../filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/upload"