[TYPO3-dev] order of rendering of plugins

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Jan 30 08:11:55 CET 2008


Hi!

stefano cecere wrote:
> subparts.plugin_1 < plugin.tx_plug_pi1
> subparts.plugin_2 < plugin.tx_plug_pi2
> 
> 
> my two plugins are called in this order: pi1 first and p2 second.
> 
> BUT i need to call pi2 first and pi1 after it (because in pi2 i set some 
> session variable that has to be read by pi1)
> 
> it seems IMPOSSIBLE to do it
> i tried in every way but Typo3 seems to call the plugins followin the 
> order of the ###TAGS### in the template.

It calls them in the logical order :)

If I were you, I would exract that session thing into pi3, call it it before both plgins and assign its empty output to another marker, which goes before these two.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"




More information about the TYPO3-dev mailing list