[TYPO3-core] RFC: element browser hook
René Fritz
rene at typo3.org
Wed Feb 15 10:51:56 CET 2006
committed
René
> This is a CVS patch request
>
> Type: adding hook
>
> Branch: TYPO3_4-0
>
> The element browser is hardcoded. This means it is not possible to
> implement an own or modified element browser except using a XCLASS.
> I use this for the DAM to display an extended EB when a file should be
> inserted.
>
> What I've done are two things:
> - implementing a hook like I did already in show_item.php
> - separating all the classes and code to from browse_links.php to
> class.browse_links.php. This includes inserting $BACK_PATH and similar
> stuff when needed.
>
> The second makes sense so you can reuse the classes for your own element
> browser. For example HTMLArea can use the class instead of the own which is
> 99% the same.
>
> Disadvantage: An old XCLASS of the EB (browse_links.php) will not work
> anymore, but that's what the hook is for.
>
> Attached are the two complete files and a diff in one file just to show the
> differencies (not to apply).
>
> René
--
René Fritz
TYPO3 Association - Active Member
http://association.typo3.org/
More information about the TYPO3-team-core
mailing list