Different domains for frontend editing and backend are not yet supported
Sometimes the backend's url differs from frontend, for example if you use the multidomain-feature of TYPO3 to hold several websites within one single TYPO3 backend. But feeditadvanced is only loaded, when I use exactly the same url.
#1 Updated by Jonny no-lastname-given over 8 years ago
My problem is related to this one because it is also caused by multiple domains.
feeditadvanced is loaded when the site is called with the ssl-vhost (https://sth/site/ no typo3).
But when the lightbox tries to load the editor an "access violation" (I don't know if that is the right translation) occurs in line 226 from lightbox.js ("response = ...") caused by differing hosts
(<https://sth/site> was not allowed to read Window.response from <http://site>)
I would guess this is caused by the base href set for the fe and would easily be solved through always adding the host to urls.
#2 Updated by Jonny no-lastname-given over 8 years ago
- File feEdit.js.diff added
Since I haven't heard anything from here yet and found some free time, I looked into the ajax actions. Though it was only a very cursory look I think the following patch would help for my problem. It changes the standard ajaxRequestUrl from 'index.php' to a value parsed from the current location.
Unfortunately this does not work for every location and real-url setup, because currently the path is parsed for the last '/' and then 'index.php' is appended. For sites with several page levels (eg 'http://site/1/2/3/title.html') this will be a problem but I haven't found a solution for this yet. Maybe it would be best to set this value via typoscript.