Hello every one,
I'm trying to put a variable call 'depart_id' into the file 'FCKConfig.js'.
This is my code:
--------------------------------------------
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=my_pictures&Connector=connectors/asp/connector.asp&ServerPath=/image/'<%=depart_id%>'/ftp/" ;
--------------------------------------------
but it's not working! why?
someone know how can I change the folder dynamic?
Thanks all
I'm trying to put a variable call 'depart_id' into the file 'FCKConfig.js'.
This is my code:
--------------------------------------------
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=my_pictures&Connector=connectors/asp/connector.asp&ServerPath=/image/'<%=depart_id%>'/ftp/" ;
--------------------------------------------
but it's not working! why?
someone know how can I change the folder dynamic?
Thanks all
RE: Problem with variable in ASP on FCKConfig
You can use ASP vaiables in the javascript, as it is being executed client-side.

I'm just getting started with FCKEditor today, and i'm also having trouble defining the upload/browse path dynamically.
Please tell me if you find a solution, i'll inform you when/if i find one
RE: Problem with variable in ASP on FCKConfig.js
RE: Problem with variable in ASP on FCKConfig.js
RE: Problem with variable in ASP on FCKConfig.js
Best things to do is to wait the next version
RE: Problem with variable in ASP on FCKConfig.js
Thanks,
wpmyers
RE: Problem with variable in ASP on FCKConfig.js
I need to put a Filter variable to use with the PLACEHOLDER plugin... I tried to put in in the fckconfig.js but I don't know how to read it value in the placeholder plugin... HOW CAN I? Thanks
. Tell me if I can read a config variable...Inside the editor. It's the same if I would read the .value property of FCKeditor.. But.. Fckeditor.Filter value.. Excuse my bad english, thanks.