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

Dan Osipov dosipov at phillyburbs.com
Tue Jun 3 15:36:52 CEST 2008


This should go in the DAM team list. This is a discussion list only.

Dan Osipov
Calkins Media
http://phillyburbs.com/

Stanislas Rolland wrote:
> 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
> 


More information about the TYPO3-project-dam mailing list