Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

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
6ZY__________U_______
B______8____FW____J7G
B4Z___6I9____6_______
__Y____5_____S____RWJ
Z5J_________7UO______