[TYPO3-mvc] Setting viewhelper namespace in layouts

Sebastian Kurfürst sebastian at typo3.org
Thu Feb 18 19:55:58 CET 2010


Hey Christine,

> which works if I put it under the <f:layout name="master" /><f:section
> name="content"> tags in the template, but doesn't work if I put it at the
> top of the "master.html" layout.
They have to be defined in every file, as every file has to be parsable
on its own. Additionally, I think it's a great benefit in understanding
templates: All information needed to understand a template (including
what custom viewhelpers are available) is inside this file.

This has been inspired by XML: You have to declare custom namespaces
there in each file as well.

Hope this sheds some light on it :)

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list