[TYPO3-mvc] Running Fluid within tslib_pibase

Fabien Udriot fudriot at omic.ch
Fri Mar 26 12:15:08 CET 2010


I reply to my self:

ext_autoload.php seems to be wrong because it still contains the old 
"tx_fluid_compatibility_objectfactory"

Discommented lines in the Dispatcher:
$extutil = new Tx_Extbase_Utility_Extension;
$extutil->createAutoloadRegistryForExtension('extbase', t3lib_extMgm::extPath('extbase'));
$extutil->createAutoloadRegistryForExtension('fluid', t3lib_extMgm::extPath('fluid'));

I guess ext_autload.php should be regenerated... Mmm... not the case till now.


On 26.03.10 11:01, Fabien Udriot wrote:
> I upgraded to the latest version.
>
> I now get an other fatal error thrown by the first line of method
> renderFileTemplate (http://tr.im/TmCw)
>
> $templateParser = Tx_Fluid_Compatibility_TemplateParserBuilder::build();
>
> output:
> =======
> Fatal error: Class 'Tx_Fluid_Compatibility_ObjectManager' not found in
> /t3lib/class.t3lib_div.php
>
>
>
> My installation:
> TYPO3: 4.3.2
> Extbase: 1.1.0alpha1
> (https://svn.typo3.org/TYPO3v4/CoreProjects/MVC/extbase/trunk)
> Fluid: 1.1.0alpha1
> (https://svn.typo3.org/TYPO3v4/CoreProjects/MVC/fluid/trunk)
>
>
>
> On 26.03.10 10:33, Fabien Udriot wrote:
>> It seems I need to dig deeper into that question. Currently I am running
>> Fluid version 1.0.2
>>
>> According to the tutorial set down by Steffen [1], I should be able to
>> write:
>>
>> My service class:
>> ==================
>> $params = array('foo' => 'World');
>>
>> Fluid template:
>> ===============
>> Hello {foo}
>>
>> I would expect on FE:
>> ====================
>> Hello World
>>
>> But instead I get:
>> ==================
>> Fatal error: Call to a member function getObjectAccessorPostProcessor()
>> on a non-object in
>> typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ObjectAccessorNode.php
>> on line 81
>>
>> Maybe, I forgot a step somewhere...
>>
>> I will try upgrading my Fluid / Extbase version up to the latest.
>>
>> Greetings,
>>
>> Fabien
>>
>> [1]
>> http://forge.typo3.org/wiki/typo3v4-mvc/How_to_userender_a_fluid_template_in_a_ServiceeIdCLI_Script
>>
>>
>>
>> On 23.03.10 10:57, Franz Koch wrote:
>>> Hi,
>>>
>>>> That's not enough if you want to use all "ViewHelpers" have a look
>>>> at my
>>>> version one in Wiki[2].
>>>> There has been an "renderingConfiguration" which must be injected.
>>>
>>> in order to be able to create links, you also need to define a
>>> controllerContext and a requestObject.
>>>
>>> It'll really be great to have the MVC-part of extbase as standalone
>>> framework available for v4.


More information about the TYPO3-project-typo3v4mvc mailing list