[TYPO3-mvc] Setting viewhelper namespace in layouts

Christine Gerpheide cgerpheide at gmail.com
Thu Feb 18 20:06:46 CET 2010


Yes, it does help clarify.  Thanks, I thought there might be a reason for
this...
Christine

2010/2/18 Sebastian Kurfürst <sebastian at typo3.org>

> 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
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list