Project

General

Profile

Actions

Bug #25175

closed

More than one Frontend RTE duplicates entire Page

Added by z.c over 13 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2011-02-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When I include more than one RTE in my Frontend-Extension (multiple calls to tx_rtehtmlarea_pi2::drawRTE) the entire Page-Content (without USER_INT's) is rendered into the head of the Page ($GLOBALS['TSFE']->additionalHeaderData['rtehtmlarea']).

This happens in Line 240 of " * $Id: class.tx_rtehtmlarea_pi2.php 10503 2011-02-20 04:20:35Z stan $ *".

Possible Workaround:
Include something like this after the first Call to "tx_rtehtmlarea_pi2::drawRTE":
if ($this->RTEcounter == 1) {
$this->additionalHeaderData_rtehtmlarea = $GLOBALS['TSFE']->additionalHeaderData['rtehtmlarea'];
}
else {
$GLOBALS['TSFE']->additionalHeaderData['rtehtmlarea'] = $this->additionalHeaderData_rtehtmlarea;
}
(issue imported from #M17763)

Actions

Also available in: Atom PDF