CMS MADE SIMPLE FORGE

TinyMCE

 

[#10948] Problem with hardcoded uploads-folder

avatar
Created By: Freud (Freud)
Date Submitted: Tue Mar 22 10:37:51 -0400 2016

Assigned To: Rolf (rolf1)
Version: 3.1.2
CMSMS Version: v2.1.2
Severity: Minor
Resolution: None
State: Open
Summary:
Problem with hardcoded uploads-folder
Detailed Description:
At first many compliments for this new version of the TinyMCE-module!

When you change the name of uploads-folder (e.g. 'media') and set
$config['uploads_url'] / $config['uploads_path'] in the CMSMS-config file, there
is a problem with inserting images or links in the texteditor.

This is caused by hardcoded path to the uploads-folder in at least to files of
the TinyMCE-files:
- modules/TinyMCE/responsive_filemanager/filemanager/config/config.php, lines
#72 and #83
- modules/TinyMCE/lib/class.tinymce_profile.php, line #455

Is it possible to set the dynamically, in line with the config-settings? 


History

Comments
avatar
Date: 2016-10-09 18:54
Posted By: Daniel Pospisil (danposp)

I would also like this option. And it would be super cool to be able to set the
uploads dir per user group - we dont want less experienced users to upload all
over the system, so we would like to limit them to one folder which we can
cleanup easy (like /uploads/shared_folder/). And more experienced users would be
able to upload to root folder (/uploads/)
      
avatar
Date: 2017-07-20 05:41
Posted By: Mathieu Muths (airelibre) (airelibre)

Hi,

I'll take a look at that for the next major version 
      
avatar
Date: 2018-10-04 02:37
Posted By: Freud (Freud)

After several new versions of the TinyMCE-module still no fix for the hardcoded
uploads-path.
Can you tell me when this will be fixed?

      
Updates

Updated: 2018-10-04 02:37
resolution_id: => 5