maybe I'm missing something here, but how does the config file know your variables? do you include() your own site config from the connector config?
If your own site config has not been included, then how would the connector know what values to use? After all, the filemanager is a separate instance of code which is called in isolation to your own CMS - there has to be some link...
The config file doesn't know my variables! That is exactly the problem.
Can you set $Config['UserFilesPath'] and $Config['UserFilesAbsolutePath'] on instantiation of the FCK editor object? This would seem the most straightforward way to "tell" FCK where to look for images and files rather than messing around inside of its code.
Right you were. I work with a company that uses this editor in their CMS and I looked at their config file for help and they simply use objects without any include or anything, so that threw me off. Then I found where they had used a custom config file that included a common connector file that set up db connections and created objects and whatnot.
In any event I just got it patched up, so thanks for pointing me in the right direction!
RE: PHP Objects in connector config
If your own site config has not been included, then how would the connector know what values to use? After all, the filemanager is a separate instance of code which is called in isolation to your own CMS - there has to be some link...
Kae
RE: PHP Objects in connector config
Can you set $Config['UserFilesPath'] and $Config['UserFilesAbsolutePath'] on instantiation of the FCK editor object? This would seem the most straightforward way to "tell" FCK where to look for images and files rather than messing around inside of its code.
RE: PHP Objects in connector config
As I said, the filemanager is completely isolated from the main FCKeditor window. You need to add a connection in the filemanager to your config.
RE: PHP Objects in connector config
In any event I just got it patched up, so thanks for pointing me in the right direction!