[TYPO3-RTE] Invalid path definitions for typo3link and typo3image
Tapio Markula
tapio.markula at xetpoint.fi
Thu Sep 13 17:21:36 CEST 2007
Hi
htlmlarea has invalid path defitions. typo3link and typo3image don't
work in frontend, when used the mode 'Form on page'
I tried to fix the invalid path but failed.
return (!is_object($TSFE) ? '' : '
' . '/*<![CDATA[*/') . (is_object($TSFE) ? '' : '
RTEarea[0]["RTEtsConfigParams"] = "&RTEtsConfigParams=' .
rawurlencode($this->RTEtsConfigParams()) . '";
RTEarea[0]["pathAcronymModule"] =
"'.t3lib_div::getIndpEnv('TYPO3_SITE_URL').substr(t3lib_extmgm::extRelPath("htmlarea"),3).'mod2/acronym.php";
RTEarea[0]["pathLinkModule"] =
"'.t3lib_div::getIndpEnv('TYPO3_SITE_URL').substr(t3lib_extmgm::extRelPath("htmlarea"),3).'mod3/browse_links.php";
RTEarea[0]["pathImageModule"] =
"'.t3lib_div::getIndpEnv('TYPO3_SITE_URL').substr(t3lib_extmgm::extRelPath("htmlarea"),3).'mod4/select_image.php";
RTEarea[0]["pathUserModule"] =
"'.t3lib_div::getIndpEnv('TYPO3_SITE_URL').substr(t3lib_extmgm::extRelPath("htmlarea"),3).'mod5/user.php";
RTEarea[0]["pathParseHtmlModule"] = "' . $this->extHttpPath
. 'mod6/parse_html.php";')
. $loadPluginCode . '
HTMLArea.init();' . (!is_object($TSFE) ? '' : '
/*]]>*/
');
Find and replace has valid path also in this mode like other dialogs.
I know very well path problems - I have had them too.
Please help fixing this path problem - I must get working editor for my
client, who wants to use this mode.
I tried tinyrte but it typo3link doesn't work with it - and rtehtmlarea
works even worse.
More information about the TYPO3-project-rte
mailing list