Closed alexdpunkt closed 10 years ago
Why?
I get the following error: Fatal error: Class 'Tx_Flux_ViewHelpers_Flexform_Field_Inline_FalViewHelper' not found in /html/typo3/typo3_src-6.2.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4280
As soon as I add it to the ClassAliasMaps the error is gone...
TYPO3 6.2.0 Flux 7.0.0
Is your view helper called <flux:flexform.field.inline.fal ...
?
(sorry for closing, wrong button)
Yes it is. Flux is TER version if this matters.
<flux:flexform.field.inline.fal ... />
If I may interject:
The class Tx_Flux_ViewHelpers_Flexform_Field_Inline_FalViewHelper
never existed in Flux - however, FluidTYPO3\Flux\ViewHelpers\Field\Inline\FalViewHelper
exists. I think the problem here is that Alex perhaps is still using the old Flux namespace in the Fluid template - or possibly that TYPO3 6.1.7 is being used, which lacks the fix for the "use original class name always, when encountering an alias in Fluid".
Claus you are totally right. I use the old namespace.
{namespace flux=Tx_Flux_ViewHelpers}
Is it safe to switch to the namespaced paths already?
I'm on a fresh TYPO3 6.2 with Flux 7.0.0.
Yeah, and you should use <flux:form.field.inline.fal
I am closing this now, since everything will be fine if you use this vh
It absolutely is, and it is encouraged to do so on flux 7.0 and especially with the namespaced 6.2.
Please keep in mind that a lot of the namespaces were simplified-example:
<flux:field.*>
formerly was <flux.flexform.field.*>
There is a blog post on fluidtypo3.org (http://fluidtypo3.org/blog/news/dropping-typo3-4x-support.html) explaning some of the changes in the ViewHelper namespaces.
Cheers, Cedric
Great, thanks a lot!
Our pleasure. Keep on posting issues, so we can catch all of the (potential) bugs!
Zelda: Link to the Past and programming reference combined. Well how about that!
lol
This should be added to the ClassAliasMaps:
'Tx_Flux_ViewHelpers_Flexform_Field_Inline_FalViewHelper' => 'FluidTYPO3\Flux\ViewHelpers\Field\Inline\FalViewHelper'