Loading...
Navigation überspringen
Bitte beachte, dass sich diese Dokumentation auf die neuste Version dieser Erweiterung bezieht. Wenn eine ältere Version eingesetzt wird, kann diese abweichen. Die jeweils passende Dokumentation befindet sich im Dokumentation-Verzeichnis der Erweiterung.

Reihenfolge der Datenfelder im Listeneintrag

Wenn Du die Datenfelder im Listeneintrag so befüllen möchtest, dass erst die linke Spalte bis auf drei Einträge befüllt wird und dann erst in der rechten Spalte weitergemacht wird, verwendest Du einfach das folgende Fluid-Templates:

<f:variable name="fieldsetFieldsHtmlLeft" value="" />
<f:variable name="fieldsetFieldsHtmlRight" value="" />
<f:variable name="fieldsetFieldsHtmlLeftCount" value="1" />
<f:for each="{settings.search.fieldsets}" as="fieldset" key="fieldsetKey">
    <f:if condition="{fieldsetKey} == 'general'">
        <f:for each="{fieldset.fields}" as="field" key="fieldKey" iteration="fieldIterator">
            <f:comment><!-- Label translation --></f:comment>
            <f:variable name="tempLanguageKey" value="tx_openimmo_label.immobilie_{fieldKey}" />
            <f:variable name="tempLanguageValue" value="{f:translate(key: tempLanguageKey)}:" />
            <f:comment><!-- Fluid field section --></f:comment>
            <f:variable name="section" value="default" />
            <f:if condition="{field.section}"><f:variable name="section" value="{field.section}" /></f:if>
            <f:comment><!-- Field is filled? --></f:comment>
            <f:variable name="newField"><f:format.raw><f:render partial="Immobilie/{field.partial}" section="{section}" arguments="{immobilie:immobilie, label: tempLanguageValue}" /></f:format.raw></f:variable>
            <f:variable name="newFieldFilled" value="{oi:iterator.explode(content: newField, glue: 'dd')}" />
            <f:variable name="newFieldFilled" value="{f:count(subject: newFieldFilled)}" />
            <f:if condition="{newFieldFilled} > 1">
                <f:if condition="{fieldsetFieldsHtmlLeftCount} <= 3">
                    <f:then>
                        <f:variable name="fieldsetFieldsHtmlLeft"><f:format.raw>{fieldsetFieldsHtmlLeft}{newField}</f:format.raw></f:variable>
                    </f:then>
                    <f:else>
                        <f:variable name="fieldsetFieldsHtmlRight"><f:format.raw>{fieldsetFieldsHtmlRight}{newField}</f:format.raw></f:variable>
                    </f:else>
                </f:if>
                <f:if condition="{fieldsetFieldsHtmlLeftCount} == 6"><f:variable name="fieldsetFieldsHtmlLeftCount" value="7" /></f:if>
                <f:if condition="{fieldsetFieldsHtmlLeftCount} == 5"><f:variable name="fieldsetFieldsHtmlLeftCount" value="6" /></f:if>
                <f:if condition="{fieldsetFieldsHtmlLeftCount} == 4"><f:variable name="fieldsetFieldsHtmlLeftCount" value="5" /></f:if>
                <f:if condition="{fieldsetFieldsHtmlLeftCount} == 3"><f:variable name="fieldsetFieldsHtmlLeftCount" value="4" /></f:if>
                <f:if condition="{fieldsetFieldsHtmlLeftCount} == 2"><f:variable name="fieldsetFieldsHtmlLeftCount" value="3" /></f:if>
                <f:if condition="{fieldsetFieldsHtmlLeftCount} == 1"><f:variable name="fieldsetFieldsHtmlLeftCount" value="2" /></f:if>
            </f:if>
        </f:for>
    </f:if>
</f:for>
<div class="col-xs-12 col-sm-6 col-md-6">
    <dl class="dl-horizontal"><f:format.raw>{fieldsetFieldsHtmlLeft}</f:format.raw></dl>
</div>
<div class="col-xs-12 col-sm-6 col-md-6">
    <dl class="dl-horizontal"><f:format.raw>{fieldsetFieldsHtmlRight}</f:format.raw></dl>
</div>
Letzte Änderung: 15.06.2026

Kontaktanfrage

Du kannst uns jederzeit kontaktieren

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
_2__________YSW______
2P_____F______I___N1A
_G____HSI___TCO______
_P_____B______M___HSC
98F_________H2O______