Page 1 of 1
TinyMCE - relative image path?
Posted: Mon Apr 11, 2011 8:22 pm
by kris29
I noticed since CMSMS 1.9.(?) TinyMCE shows absolute paths when inserting images. Having a long domain name and deep folder structure the name of the file gets cut off by the short address field
Is there a way to change that to relative paths (like it was in the past)?

Re: TinyMCE - relative image path?
Posted: Wed May 04, 2011 3:53 am
by geepers
I've encountered the same problem, and definitely miss being able to change that setting in the TinyMCE settings.
You 'can' still access the setting within phpMyAdmin.
Run a search in the 'cms_siteprefs' table on the 'sitepref_name' field, search for 'TinyMCE_mapi_pref_relativeurls' - set the corresponding 'sitepref_value' to 1 to turn on relative urls, and to 0 to turn them off.
NOTE: I found that the insert/edit image dialogue window would show the absolute path initially, and but once saved and re-opened it showed the relative url in instead.
It's frustrating and hopefully it is resolved on the next iteration of TinyMCE.
Hope this helped.
Re: TinyMCE - relative image path?
Posted: Fri May 27, 2011 3:45 pm
by Dr.CSS
When you first add an image it does have the full long path but when you hit Insert it trims it down to relative path...