Bug #17443
closedPlugins: Use record specific RTEtsConfigParams
0%
Description
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 only for the first instance of RTEhtmlarea in the JavaScript variable RTEarea0['RTEtsConfigParams']. Thus, all other RTE fields get the same RTEtsConfigParams.
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.
Using TYPO3 4.1.1 with the sysext RTEhtmlarea 1.5.2
(issue imported from #M5907)
Files
Updated by Oliver Hader over 17 years ago
The attached patch (0005907.patch) creates the RTEtsConfigParams for each instance of RTEhtmlarea. If you'd like to test, apply the patch and make sure to delete the cached rtehtmlarea* files in typo3temp.
Updated by Oliver Hader over 17 years ago
0005907_v2.patch changes the RTEhtmlarea variable in the plugins TYPO3HtmlParser, TYPO3Browsers, Acronym and UserElements.
Updated by Oliver Hader over 17 years ago
- TYPO3_4-1 (rev. 2415) -- will be in TYPO3 4.1.2
- Trunk (rev. 2416)