Feature #19055
closedhook request for function:'fileList' in class.browse_links.php
0%
Description
In function 'fileList' it would be great to have the possibility to add more links, beneath filename, plusbullet and info. This would be neccesary for integration of different extensions, e.g. for imagecropping, directly from the filebrowser.
I have patched this function for integration of EXT:fdfx_be_image, but I have not implemented a hook.
With a hook, this would have been much easier and of course cleaner.
Maybe there are different alternatives for usage of a hook.
// Adding link to cropping Extension 'fdfx_be_image'
$ATagCrop = "<a href=\"ext/fdfx_be_image/cm1/index.php?referrer=elementBrowser&bparams=".$this->bparams."&expandFolder=".$this->expandFolder."&id=".$filepath."\">";
$lines[]='<td>'.$ATagCrop.' '.$LANG->getLL('cropImage',1).' '.$ATag_e.'</td>';
//
(issue imported from #M8891)
Files
Updated by Jesse Adler over 16 years ago
$lines[] had c&p error
$lines[]='<td>'.$ATagCrop.$LANG->getLL('cropImage',1).$ATag_e.'</td>';
Updated by Jesse Adler over 16 years ago
I have added a modified function fileList.
In this function I have implemented two hooks.
First hook provides the possibility to add unlimited lines to fileList. This can be useful for 3rd party extension features like image cropping, file converting, ...
The second hook makes it possible to add custom html/js code to filebrowser. This might be useful for DOM manipulation of the fileList.
I hope that the developers like the modified method and include it in the next release.
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.