[TYPO3-english] Why is my TS UserFunc not called?

Peter Klein peter at umloud.dk
Tue Sep 29 09:18:04 CEST 2009


Hi Sebastian.

Just a quick guess:

Try changing:

Tx_browsableimgtext_UserFuncs->getImgList

into

tx_browsableimgtext_UserFuncs->getImgList
^
lowercase "t"

--
Peter Klein


On Tue, 29 Sep 2009 09:09:45 +0200, Sebastian Gebhard
<sebastian.gebhard at googlemail.com> wrote:

>Lately i'm more and more in trouble with TS UserFuncs. They never want to run.. :/
>
>I want to manipulate to displayed images of the textpic content element:
>
>includeLibs.browsable_imgtextUserfunc = EXT:browsable_imgtext/Classes/UserFuncs.php
>tt_content.textpic.20{
>   imgList.postUserFunc = Tx_browsableimgtext_UserFuncs->getImgList
>}
>
>When I try to echo something in the userFunc it shows that it is not even called.
>
>Where am I wrong?
>
>Kind Regards


More information about the TYPO3-english mailing list