Multisite & FCKeditor Quickupload : one installation, different paths?

Events happening in the community are now at Drupal community events on www.drupal.org.
MatthijsG's picture

Does anybody have a multisite and the QuickUpload up & running for differentsites? I can't get it working :-(

My structure is something like this (yes, standard indeed):
/sites/all/modules/fckeditor
/sites/foo1.bar/
/sites/foo2.bar/
/sites/foo3.bar/
The FCKeditor is in the modules and working fine. However, not the quickupload. In the config file the admin should set up the path

// Path to user files relative to the document root.
$Config['UserFilesPath'] = '' ;

// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Useful if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\MySite\userfiles\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '' ;

But when i enter the path for one installation, it does not work for a different site. If someone could help, please!

Comments

I'm not familiar with

Garrett Albright's picture

I'm not familiar with QuickUpload, but I wonder if you could do something along the lines of…

<?php
$Config
['UserFilesPath'] = file_directory_path();
?>

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: