[TYPO3-core] RFC: Bug 5907: RTE-Plugins: Use record specific RTEtsConfigParams
oh at inpublica.de
Sat Jul 14 16:14:40 CEST 2007
FYI: Committed to SVN:
* TYPO3_4-1 (rev. 2415)
* Trunk (rev. 2416)
Oliver Hader schrieb:
> This is a SVN patch request.
> The RTEhtmlarea plugin UserElements offers a possibility to create
> custom tags. The shown popup window with those user elements gets called
> with the GET parameter "RTEtsConfigParams" which has several information
> about the tablename, uid, pid, ... of the field the RTEhtmlarea field
> was put it.
> Currently the information of the variable "RTEtsConfigParams" is created
> RTEarea['RTEtsConfigParams']. Thus, all other RTE fields get the same
> This makes it impossible to render record and field specific user
> elements in the popup window showing the available tags.
> This behaviour occurs also in other Plugins of RTEhtmlarea, the
> "UserElements" plugins was just taken as example.
> Use RTEarea[<editorNumber>]['RTEtsConfigParams'] instead of
> RTEarea['RTEtsConfigParams'] to have the correct configuration for
> each instance of RTEhtmlarea.
> The attached patch changes this behaviour for the plugins
> TYPO3HtmlParser, TYPO3Browsers, Acronym and UserElements. The changed
> compressed scripts are also part of the patch.
> Bugtracker references:
> Branches: TYPO3_4-1 & Trunk
More information about the TYPO3-team-core