[FLOW3-general] Same variable in every template
Martin Lipp
martin.lipp at gmail.com
Mon Feb 27 16:19:58 CET 2012
I would like to assign the same variable in every action and all
available controllers in order to output it in the layout (all templates
share the same layout). Is there an easy way/a best practice to do this,
without having to assign it in every single action, which seems to
redundant? I've thought of an ViewHelper which returns me the variable,
but I'm not sure, if it's a good practice to add repository functions to
a ViewHelper.
Thanks,
Martin
More information about the FLOW3-general
mailing list