[TYPO3-dam-devel] [TYPO3-dev] Re: RFC #13641: dam_ttcontent: Use new TYPO3 4.3 hook for preview images in page modul
Steffen Kamper
ks at dislabs.de
Thu Feb 25 19:42:03 CET 2010
Hi,
i know it's offtopic here, but i wonder about the hook (#9078) because
it's not related to the CType. I would expect
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem']['textpic']
etc. The drawback of current hook is that it is called for every CType
which is a bit performance killer.
In case of DAM the function is called for every CE on a page, having 50
CE's on a page, the hook is called 50 times. If other extensions use
that hook too, we have 100/150 calls.
Beside that it's in concurrence of the hook
$TYPO3_CONF_VARS['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['list_type_Info']
so i'm confused about having 2 hooks doing the same, eating performance
and being not specific.
The followup is set to dev-list, where i send this post too.
vg Steffen
More information about the TYPO3-team-dam
mailing list