[TYPO3-mvc] Custom view helpers in a partial called multiple times

Christian Müller christian.mueller at typo3.org
Wed Feb 20 23:16:09 CET 2013


Hi François,

depending on your ViewHelper render method implementation it could be a
problem of template "compilation". The templates and including
viewhelpers are worked into raw php code to be executed faster. Maybe
something went wrong with your custom VH. So have a look at the cached
template parts with your VH. A good indicator is if a simple hardcoded
return value produces the same issue or not. If not it is probably that
problem (I think you can somehow disable compilation for your VH) if
hardcoded return value produces the problem too then you might have
found a bug...

Cheers,
Christian




More information about the TYPO3-project-typo3v4mvc mailing list