[TYPO3-english] Fluid Typo3 and database query

Mikel lists at con-version.com
Tue Mar 17 10:42:07 CET 2015

Hi Alex,

you are calling ViewHelpers of an extension called flux. Have you 
installed that extension? If so, you have to embed the namespace within 
the fluid template to let TYPO3 know where to find the ViewHelper classes.
I have never worked with flux, so I can't give you detailed information 
about it.

You can define a namespace by placing the following line of code to the 
{namespace flux= FluidTYPO3\Flux\ViewHelpers}

Do you need to integrate Flux? I mean, as you are new to TYPO3 and 
fluid, it could be a bit complicated to work with that extension, when 
you maybe do not need it.
If you need it, here is the pretty good official reference to flux --> 

Otherwise I would just go with the fluid standards...


Am 13.03.15 um 12:06 schrieb alexis nicolas:
> Hi all,
> I'm pretty new to Typo3 and Fluid, and despite of many days of search 
> over the web I can't find any answer to my question.
> I am testing the basic Fluid Typo3 example embedded in Provider 
> Extension Generator, and I can not display my tt_content records in 
> the FE (whereas they are perfectly found in BE context).
> Here is my page template code:
>     <f:layout name="FooPage"/>
>     <!-- Configuration définit les éléments qu'on va utiliser -->
>     <f:section name="Configuration">
>         <flux:form id="fooFluid">
>             <!-- Input field for Fluid variable 'pageClass' -->
>         </flux:form>
>         <!-- Backend layout grid (TYPO3 6.x and greater only) -->
>         <flux:grid>
>             <flux:grid.row>
>                 <flux:grid.column colPos="1" name="Sidebar"/>
>                 <flux:grid.column colPos="0" colspan="3" name="Content"/>
>             </flux:grid.row>
>         </flux:grid>
>     </f:section>
>     <!-- Définition de l'affichage dans le FE -->
>     <f:section name="Sidebar">
>         <!-- Render colPos=1 in this section -->
>         <div id="sidebar" style="width:25%;float:left">
>             <h2>Hello sidebar from template</h2>
>             <p><v:content.render column="1"/></p>
>         </div>
>     </f:section>
>     <f:section name="Content">
>         <!-- Render colPos=0 in this section -->
>         <div id="content" style="width:75%;float:left">
>             <h2>Hello content from template</h2>
>             <p><v:content.render column="0"/></p>
>         </div>
>     </f:section>
> So my question is: is it the right way to simply get record in the FE, 
> or do I have to code something in ext_tables.php (and if so, does 
> anybody know any tutorial or an article to start from?)
> I'm surely missing basic stuff about extension developing, but I've 
> got to learn all about Typo3 by myself...
> Thanks a lot!
> Alex
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

More information about the TYPO3-english mailing list