[TYPO3-german] "listnum = rand" unter 4.5

JoH asenau info at cybercraft.de
Mon Feb 7 20:04:59 CET 2011


>> The problem is not the hook or the way it's implemented but Jigal already mentioned what could be the reason:
>>
>> There's an array $stdWrapOrder in tslib_cObj which determines both which properties are available and in which order they are executed.
>> This has been done to make it possible to replace the huge "if" construct with real classes and function calls.
>>
>> The $conf array is intersected with this array and this way the custom stdWrap property you want to use is removed. So it's not enough to just implement the function. It has to be added to this array as well.
>> You can use the stdWrapPreProcess hook to modify the array and add your own property to $stdWrapOrder.
>>
>> HTH
>>
>> Joey
>
> Das muss also in die extension noch mit rein, sonst kommt das rand nie an.

Sorry - aber da hab ich ziemlichen Lötzinn geschrieben. Das Konzept für 
die Hooks ist eigentlich bewußt so geblieben wie es vorher war, es ist 
lediglich fehlerhaft implementiert. Ein Fix für den Bug ist in Arbeit - 
kommt vermutlich heute nacht noch als RFC.

Schönen Abend

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com


More information about the TYPO3-german mailing list