[TYPO3-dam] RFC : Replace dam extension of tx_rtehtmlarea_browse_links by implementation of interface t3lib_browselinkshook

Stanislas Rolland typo3 at sjbr.ca
Tue Jun 3 07:57:57 CEST 2008


This is an SVN patch request.

Type: Bugfix/Cleanup

Branches:
trunk

Problem:
Script compat/class.ux_tx_rtehtmlarea_browse_links.php replicates code 
of the RTE which will make difficult the co-evolution of dam and 
rtehtmlarea.

Solution:
The attached patch replaces the class extension 
compat/class.ux_tx_rtehtmlarea_browse_links.php by an implementation of 
interface t3lib_browselinkshook: 
compat/class.tx_dam_rtehtmlarea_browse_links.php. This minimizes the 
code redundancy between the two extension.

Notes:
1. The patch creates a tab of type media instead of overriding the file 
tab. As a side effect, the media tab is inserted as the last tab.
2. This patch requires TYPO3 4.2.

Waiting for comments and test reports,
Stanislas

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dam_rtehtmlarea_links.patch
Url: http://lists.netfielders.de/pipermail/typo3-project-dam/attachments/20080603/e210db15/attachment.txt 


More information about the TYPO3-project-dam mailing list