[TYPO3-english] Fluid Typo3 and database query

alexis nicolas alexisnicolas3 at orange.fr
Fri Mar 13 12:06:26 CET 2015

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' -->
		<!-- Backend layout grid (TYPO3 6.x and greater only) -->
				<flux:grid.column colPos="1" name="Sidebar"/>
				<flux:grid.column colPos="0" colspan="3" name="Content"/>

	<!-- 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>
	<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>

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!

More information about the TYPO3-english mailing list