[TYPO3-mvc] How to use my own ViewHelpers in Extbase 6.x using namespaces?
Felix Eggbert
eggbert at phez.com
Fri Jun 7 12:56:07 CEST 2013
That's it - now it's working! Thanks a lot, Tobi!
P.S. Any good way how to remember when to start with a slash and when not
to?
Felix
-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
[mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von
Tobias Liegl
Gesendet: Freitag, 7. Juni 2013 12:54
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] How to use my own ViewHelpers in Extbase 6.x using
namespaces?
Hi,
I think I made a mistake too. In the template it should read like this:
{namespace myext=MyVendor\MyExt\ViewHelpers}
Without the slash after the =.
Tobi
Am 07.06.13 12:32, schrieb Felix Eggbert:
> Hi Tobi,
>
> thanks for your reply...
>
> Yes, I did define a namespace like that in my VH, still no success.
>
> After posting my first message I realized, that I must have made a
> mistake
> here:
>
> I guess instead of
> \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractViewHelper it should rather
> be \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper. I did change
> that, still no success. I mean, shouldnt the first example throw an
exception anyway? But obviously it doesn't even get that far...
>
> Hm...
>
> Felix
_______________________________________________
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