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.
Display solution for the "Fahrzeugsuche" TYPO3 extension
The extension "Fahrzeugsuche PRO" provides a display solution for the "fahrzeugsuche" extension.
Installation
Use the extension manager or composer to install the extension:
composer req codingms/fahrzeugsuche-pro
There's no extension settings.
Configuration
- Create a new page on which you want to set up the display soloution. This page should be excluded from the website search and also from be excluded from crawling by search engines.
- Create a root template on that page. Activate "Clear constants", "Clear setup" and "Rootlevel" in the "options" tab. Add the following constants and setup typoscript:
Constants
themes.configuration.container.fahrzeugsuche = 123,124
(replace 123 resp. 124 with the IDs of the folders where your vehicle data is stored)
Setup
plugin.tx_fahrzeugsuche.settings.accounts.12345.id = 12345
plugin.tx_fahrzeugsuche.settings.accounts.123456.id = 123456
config.absRefPrefix = /
config.no_cache = 1
page.config.no_cache = 1
page {
includeJSLibs {
jQuery = https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js
jQuery.external = 1
}
}
(repace 12345 resp. 12346 with the IDs of the accounts you want to show vehicles from)
- Include the static templates Fluid Content Elements (fluid_styled_content) und Fahrzeugsuche Display (fahrzeugsuche_pro) ein.
- Switch to the page module and create a plugin of type Fahrzeugsuche Display in colomun .
The display solution should now be ready to use.
Provide settings for the FlexForm configuration of the plugin
You can filter the vehicles displayed in the plugin to certain makes. Add the following TypoScript to the page properties at "Resources" -> "Page TSConfig":
TCEFORM.tt_content.pi_flexform.fahrzeugsuchepro_fahrzeugsuchedisplay.sDEF {
settings\.makes {
addItems {
MERCEDES-BENZ = Mercedes Benz
SMART = Smart
SKODA = Skoda
VW = VW
}
}
}
After that you can select the desired makes. Only vehicles from this makes will be displayed.