[TYPO3-dev] Using the rtehtmlarea browse_links with an input field
Pierre Rouwens
pierre_rouwens at dmr.ca
Wed Jul 18 01:21:48 CEST 2007
Hi all,
I'm currently working on an extension and i need to use the rtehtmlarea
browse_links (mod3), that i have extended with a modified ch_rterecords,
to create a special link to tt_news.
But i have here JS errors. Seems coming from the fact that it's not
called from a RTE.
I have searched and found this :
// BEGIN accumulation of header JavaScript:
$JScode = '';
$JScode.= '
if (window.opener) {
var editor = window.opener.RTEarea[' . $this->editorNo . ']["editor"];
var HTMLArea = window.opener.HTMLArea;
}
line 353 to 359 from class.tx_rtehtmlarea_browse_links.php.
Seems like it needs a RTE to properly open it, and editor var is in
error so the jumpToUrl is not defined, etc....
Is anyone encounter this problem too ?
I've searched trough the bugtracker without success.
I surely can extend the TYPO3 browse_links like i did for the
rtehtmlarea, but i hope i don't have to.
TIA for any hint.
Pierre
More information about the TYPO3-dev
mailing list