File paths should be relative to the files folder

DanielTheViking - December 30, 2008 - 13:11
Project:OpenWYSIWYG Editor
Version:6.x-1.0-alpha3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

When inserting images etc., the path used is using the web site root as the start path as of version 1.18. This makes it problematic to move a test/development site into production, and also adjust folder hierarchies where several drupal sites are installed in subfolders. Moreover, it makes it cumbersome to later change the files folder to something different than the default folder name.

I think that this module should use the $files folder setting to find out where the files folder is, and then only store the path inside the $files folder as part of the path stored with each post. That would ease administration significantly.

In fact, without it, it is a question of it is worth the effort to start using this module to handle WYSIWYG.

#1

DanielTheViking - December 30, 2008 - 13:13
Title:Inserted file paths should be relative to the files folder» File paths should be relative to the files folder

#2

drupal-id.com - April 25, 2009 - 04:45
Version:5.x-1.18» 6.x-1.0-alpha3

I have checked 5.x-1.18 uses file_directory_path() mean relative to Drupal "files" folder.
But, since I am working on 6.x then please use and submit bug only for OpenWYSIWYG 6.x version.
Thank you.

 
 

Drupal is a registered trademark of Dries Buytaert.