Maklermodul
The ODD theme already ships templates and stylesheets for the Maklermodul (real estate module).
Documentation
The Maklermodul documentation contains all information on installing and setting up the Maklermodul.
Including the stylesheets
Add the following line to custom.scss (/files/odd/scss) so that the list and detail view are displayed as in the screenshots.
@import 'maklermodul';Setup
Creating pages
First create one page each for the list view and the detail view.
List view module
Create a module of type Immobilienliste (property list) as described in the documentation.
- Select the property template makler_list_odd
- Select the image size Maklermodul / Listenansicht
Detail view module
Create a module of type Expose as described in the documentation.
- Select the property template makler_details_extended_odd
Header image module
Create a module of type MaklerModul Kopfbild (header image) as described in the documentation.
Placing the modules
Place the modules for the list view and the exposé in the articles of the respective pages. For the header image, create another article placed in the header (above the article of the detail view).
For the articles of the header image and the detail view, select the template mod_article_fullwidth in the article settings (wrench icon) under Template settings.
Customizations
Always show the filters in the list view
If the filters in the list view should always be visible instead of only after clicking the button “Filter ausklappen”, you can achieve this with a small template change. Create the template makler_list_odd and remove the following two lines at around line 41:
<a href="<?= $this->staticListPage ?>" class="btn toggle-filter show-filter active">Filter ausklappen</a>
<a href="<?= $this->staticListPage ?>" class="btn toggle-filter hide-filter">Filter einklappen</a>Examples
If you carried out all steps as described, the list should be displayed as in the following screenshots.







