[TYPO3-english] wfqbe - Results in Blocks

Per Inge Håland pihaaland at yahoo.com
Thu Feb 19 12:08:42 CET 2009


Andreas Rau wrote:
> Hi,
> 
> I'm still working with the wfqbe-plugin to get used to it. Now I'm 
> trying get the results in blocks. So I built a HTML-Template as below:
> 
> <!-- ###RESULT_TEMPLATE### -->
> <div id="###CONF_DIVID###">
>    <!-- Query-Data-->
>    <div class="###WFQBE_CLASS###">
>         ###FIELD_name1###</p>
>         ###FIELD_address1###</p>
>         
> ###FIELD_country###&nbsp;-&nbsp;####FILED_postalcode###&nbsp;###FIELD_city###</p> 
> 
>         </br>
>    </div>
>    <!-- Query-Data-->
> </div>
> <!-- ###RESULT_TEMPLATE### -->
> 
> 
> The qfbe-content-element links to this template and the template type is 
> "custom".
> 
> Changing to the FE and getting the results of a search-query, I get only 
> one record.
> 
> What do I have to do, to get all records of a recordset shown in blocks 
> one below the other?
> 
> Example:
> 
> Name1
> Address1
> D - 00001 City1
> 
> Name2
> Address2
> D - 00002 City2
> 
> 
> 
> Thx in advance.
> 
> Regards
> Andreas
> 
> 
> 
> 
> 
> 
> ******************************************************************************* 
> 
> 
> Stoeckel & Grimmler KG, Gartenstr. 25, 95213 MUENCHBERG, GERMANY
> Tel./Phone: +49 9251 89-0   |   Fax: +49 9251 89-110
> 
> Amtsgericht Hof, HRA 564
> 
Found the answer in the german group.
http://www.typo3.net/forum/list/list_post//84925/

The position of the following markers are essential for recursion:
<!-- ###RESULT_TEMPLATE### -->
<!-- ###DATA_TEMPLATE### -->

It is also important to choose Template type: Custom

The example there is a two column block
This is an example with one column:

<!-- ###RESULT_TEMPLATE### -->
<!-- ###DATA_TEMPLATE### -->
<div id="###CONF_DIVID###">

	<div class="###WFQBE_CLASS###">
		
	<strong>Dato:</strong> ###FIELD_Dato###<br>
	<strong>Prosjektnr/navn:</strong> ###FIELD_Prosjektnr### 
###FIELD_Prosjektnavn###<br>
	<strong>Firma:</strong> ###FIELD_Firma### <br>
	<strong>Estimert kostnad:</strong> ###FIELD_Kostnad###<br>
	<strong>Avvik fra:</strong> ###FIELD_Avvik_fra###<br>
	<strong>Kategori:</strong> ###FIELD_Avviks_omrade###<br>
	<br>
	<strong>Beskrivelse av avviket og strakstiltak:</strong><br>
	<p>	###FIELD_Beskrivelse### </p>
	<strong>Administrative tiltak:</strong><br>
	<p> ###FIELD_Henvisning###  </p>

	</div>
</div>

<!-- ###DATA_TEMPLATE### -->
<!-- ###RESULT_TEMPLATE### -->


More information about the TYPO3-english mailing list