Skip to main content

Detail view

  • For the detail view, place an element in the intended article and select the element type Fahrzeugmanager Detailansicht (vehicle manager detail view).

Contact form in the detail view

The ce_mobilede_reader template contains the following insert tag at around line 192: {{insert_form::1}} Enter the ID of the form you want to include here.

You can pass the vehicle model to the form when the page loads, for example with the following script:

<script>
$(document).ready( function() {
  if(jQuery('.md-detail-header h1').length) {
    jQuery('.additional-form input[name="Fahrzeug"]').html(jQuery('.md-detail-header h1').html());
  }
});
</script>

Example placement of the element