To enable the file browser I have to adjust $Config['UserFilesAbsolutePath']. I installed drupal as multisite and have different filepaths.
Would be fine to have this in the fckeditor-settings. Just like the path to an own css-file (which is a very fine feature :-)
Comments
Comment #1
frank.dev commented+1
and also for the variable $Config['UserFilesPath'], which is also different in my multisite-installation.
Or only one configurable variable for $Config['UserFilesPath'] and $Config['UserFilesAbsolutePath'] = $_SERVER["DOCUMENT_ROOT"]. $Config['UserFilesPath']
For my administration of multisi-installation signifies a lot of expenditures:
Many many manuall work - What was not necessary before version 2.x of the fckeditor!
Comment #2
olum commentedMeanwhile you can use the modul imce. Works fine for me and my multisite.
Comment #3
wwalc commentedHi,
I'm creating a TODO list with all new features that could be added to FCKeditor module.
I will probably create a global FCKeditor profile that will hold settings that are the same for each profile (to reduce the overall time required to set up FCKeditor module by administrators, like for example adjusting include/exclude fields etc.).
The question is:
Do you think that the
UserFilesPathandUserFilesAbsolutePathmay differ among different FCKeditor profiles?Do you think that the ability to set it globally would be enough?
What macros would you like to have there?
Comment #4
wkolatac commentedHi -
I have the same issue (I think). In the previous version, when I commented out the
UserFilesPathandUserFilesAbsolutePathlines, the file upload/browser functionality used the file system path value from Site Configuration->File System (file_directory_path attribute from the variable table).This doesn't work in the current version. When I comment out those lines I get a an error message:
Error creating folder "redirect: somefilepath/index.php" (Can't create redirect: folder)I'd really like to set the value via the Drupal admin config and not have to put the file paths in the config.php.
A global implementation (like the previous version) would work for me.
Thanks!
Comment #5
FreeFox commented+1 Please can you fix this as soon as possible, please.
Comment #6
wwalc commentedTry the latest 5.x-2.1-beta. It has not been fully tested, but this feature has been added.
If you find any bugs, please submit an issue.
Comment #7
Petra commentedI tested 5.x-2.x-dev and it works fine.
Thanks for the feature :)
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
wkolatac commentedi apologize if this is in the wong place (i.e. a closed request) but I want to make sure I understand this implementation. I have been away on another assignment so it has taken a bit to refresh my memory as to where I left off ...
I have installed the lastest version, 5.x-2.1 with FCKEditor 2.5.1.
Using the default file browser/upload capability, I want the uploaded files to be stored in sites/default/files. I have to make the following changes:
- modify the config.php file to include the filemanager.config.php file
- enable the cookie.domain variable in the settings.php file
- In Drupal, Administer › Site configurationFile system -> File System Path, set the file system path to sites/default/path
- In Drupal, Administer › Site configurationFile system -> Edit FCKeditor profile, under the File Browser settings, set the Path to uploaded files: b%f/ and Absolute path to uploaded files: %d%b%f/.
My first few tests seem to work. But I have to support many Drupal sites and it would be easier for my deployment process if I didn't have to set the domain cookie variable. Is there any way to set the path values in Drupal admin w/o having the cookie domain variable set. In my environmen, the cookie domain may be different from site to site and it would be easier if I had a standard way to enable the built-in functionality, rather than having to provide unique values in the settings.php
Thanks for your help!
Comment #10
wkolatac commented