fe-editing broken if IRRE-elements are used with RealURL
If IRRE-Elements are used in fe-editing, the links for the ajax.php script and the wizard-scripts are wrong.
They should point into the typo3/ directory, but point to the web root.
Possible cause: The backend uses t3lib_div::getIndpEnv('REQUEST_URI') to get the URL,
which will not work in FE, as that would be the FE-URL. One partial fix is to add additional RewriteRules to redirect the request.
Additionally their is a missing initialization of the inline part in class.tslib_content.php (editpanel generation). Solution see attached patch.
(issue imported from #M11805)
#2 Updated by Björn Pedersen about 10 years ago
if using feeditadvanced, the editing form is loaded as an eId-script via index.php.
The IRRE-javacript calls makeAjaxCall: which sets the url to just ajax.php. missing the typo3/ prefix.
If I redirect the request as shown above, the icons in the resulting form are missing (they assume a doucment root with typo3/
So the bug can either be in the IRRE-part( The js needs to be feedit-aware) or in feeditadvanced (the iframe should be generated from a file in typo3/.