[TYPO3-mvc] Displaying and modifying session data on same page
Jan Kornblum
jan.kornblum at gmx.de
Mon Jun 1 11:51:28 CEST 2015
Dear newsgroup,
a plugin is placed twice on the same page: Plugin (A) is located in the
page header and *shows* any session data ("5 items in basket"). Plugin
(B) is located in the content area below and *modifies* the session
data ("add to basket, remove from basket", "list items"). Both plugin
are uncached.
When the page is submitted ("add to basket"), the requested page still
shows the "old" basket amount. The reason seems to be that the
modifying plugin (B) is called *after* the displaying plugin (A) has
already been called.
Is there a possibility to tell TYPO3 which plugin should be executed
first (without changing the location the plugin is embedded in the
FLUID template)?
Or is there anything that is generally wrong with my approach?
Thanks for your help!
Kind regards, Jan
More information about the TYPO3-project-typo3v4mvc
mailing list