Loading...
Skip navigation

Additional information fields in the Detail View

In order to show additional information in the Detail view, you will need a Fluid Partial and some Typoscript. If, for example, you would like to have a field showing the name the colour of the car first create the Partial:

<f:if condition="{fahrzeug.vehicle.specifics.exteriorColor}">
    <f:if condition="{fahrzeug.vehicle.specifics.exteriorColor.manufacturerColorName}">
        <dt><f:translate key="tx_fahrzeugsuche_label.color" /></dt>
        <dd>
            <f:translate key="tx_fahrzeugsuche_label.color_{fahrzeug.vehicle.specifics.exteriorColor.color -> f:format.case(mode: 'lower')}" />
        </dd>
    </f:if>
</f:if>

Save this Partial as Partials/Fahrzeugsuche/FahrzeugFields/Vehicle/Specifics/ExteriorColorShort.html.

Next, specify that this partial should be used in Setup TypoScript.

plugin.tx_fahrzeugsuche {
    settings {
        detail {
            displayFieldsets {
                specifics {
                    label = Spezifisches
                    fields {
                        10 = Vehicle/Specifics/ExteriorColor
                    }
                }
            }
        }
    }
}

Contact request

You can contact us at any time

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
FY9_________S________
G_5____G____M_M___M1E
9_2___J7L___E8S______
P_A____L______7___JMI
G2B___________H______