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.

JavaScript

JavaScript Events

The vehicle search extension provides the following JavaScript events for configuring behavior.

  • fahrzeugsuche.after_refresh_data Event which is triggered when the vehicle data is updated.
  • fahrzeugsuche.after_list_initialization Event which is triggered when the vehicle list is initialized.
  • fahrzeugsuche.after_show_detail Event which is triggered when vehicle details are shown.
  • fahrzeugsuche.after_initialization Event which is triggered when the initialization is finished.
  • fahrzeugsuche.set_bookmark_count Event which is triggered when the vehicle count on bookmarks changed.
  • fahrzeugsuche.set_list_count Event which is triggered when the vehicle count on list changed.

Example:

jQuery(function() {
  jQuery(window).on('fahrzeugsuche.after_list_initialization', function() {
    fahrzeugsuche.list.limit = 50;
  });
});

This example sets the list limit on initialization to 50 vehicles per page.

Next example publishes the current amount of reminded bookmarks:

jQuery(function() {
  jQuery(window).on('fahrzeugsuche.set_bookmarks_count', function(event, count) {
    jQuery('.side-links .number').text(count);
  });
});
Documentation
TYPO3 Fahrzeugsuche Extension

TYPO3 Fahrzeugsuche

Advertise all your vehicles on your TYPO3 website. Our vehicle search uses the Search-API from mobile.de to read in your vehicles. You don't need to do anything else - the vehicle listings on your website will always be up to date. There's a connector for Autoscout24 + eAutoseller as well!

Menu

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
TJK_________S________
5______X____9_G___HIT
NJ5___7XG___7XH______
7_R____H______Q___T12
XI2___________W______