[TYPO3-dev] Extension Execution Order
Benno Weinzierl
benno_weinzierl at web.de
Tue Jun 24 12:01:12 CEST 2008
Tanks for the Answers everyone!
I now use the Hook: contentPostProc_output. That works fine so far.
tt_content.stdWrap.postUserFunc got executed to early for some reason...
The Messages are not neccessaryly php-errors so i cannot use an php
errorhandler.
I will now simply use a singleton that stores the messages in a queue and is
read and outputted in that hook...
Thanks again, Bennno
"Dmitry Dulepov [typo3]" <dmitry at typo3.org> schrieb im Newsbeitrag
news:mailman.1.1214300945.14619.typo3-dev at lists.netfielders.de...
> Hi!
>
> Benno Weinzierl wrote:
>> i have to execute my extension after all other extensions.
>> This turns out to be difficult because the priority-property of
>> ext_emconf.php aparently does not influence the execution-order of the
>> extensions.
>
> Extensions are executed in the order as they "pop up" as content elements.
>
>> This means i have to place my extension at the bottom of the page, but
>> that is not what i want.
>
> Not necessary. You have to make sure it is executed last, not placed last
> ;)
>
> I would do it in two steps. The first step is to place a marker on the
> page where you want errors to appear. The second step is to make a hook
> for TSFE to post-process content and replace this marker. Messages can be
> saved in TSFE register and you can access registers from the hook.
>
> --
> Dmitry Dulepov
> E-mail: dmitry at typo3.org
> Skype: callto:liels_bugs
> TYPO3 technical: http://typo3bloke.net/
>
More information about the TYPO3-dev
mailing list