Loading...
Skip navigation

Forward enquiries to Immomio

If you work with Immommio and would like to forward enquiries from list or single view, proceed as follows:

Prerequisites:

  • Immomio has a link to the prospective customer (Interessentenlink) as a property record attachment in the relevent property data record.
  • You are using version 5.0.5 or later of the openimmo extension.

Overwrite "Request.html" template

Overwrite the "Request.html" template by specifying the path to your own templates (see section "Configuration" in the documentation), e.g.:

plugin.tx_openimmo.view.partialRootPath = EXT:projectstarter/Resources/Extensions/Openimmo/Resources/Private/Partials/
plugin.tx_openimmo.view.layoutRootPath = EXT:projectstarter/Resources/Extensions/Openimmo/Resources/Private/Layouts/
plugin.tx_openimmo.view.templateRootPath = EXT:projectstarter/Resources/Extensions/Openimmo/Resources/Private/Templates/

Create the file, e.g.:

projectstarter/Resources/Extensions/Openimmo/Resources/Private/Partials/Immobilie/Buttons/Request.html

Check to see if the prospective customer link (Interessentenlink) is available in the template and then use this instead of the standard links for the "Enquiry" button.

    <f:section name="Bootstrap4">

        <f:for each="{immobilie.anhaenge}" as="anhang">
            <f:if condition="{anhang.title} == 'Interessentenlink'">
                <f:variable name="requestLink">{anhang.url}</f:variable>
            </f:if>
        </f:for>

        <f:if condition="{settings.request.defaultPid} == 0">
            <f:then>
                <div class="alert alert-info"><f:translate key="tx_openimmo_message.error_please_define_a_request_page_uid" extensionName="Openimmo" /></div>
            </f:then>
            <f:else>
                <f:if condition="{requestLink}">
                    <f:then>
                        <f:link.external uri="{requestLink}"
                                         class="btn btn-sm btn-outline-primary"
                                         title="{f:translate(key: 'tx_openimmo_label.button_request_title', extensionName: 'Openimmo')}"
                                         target="_blank"
                        >
                            <i class="fa fa-envelope-o"></i> <f:translate key="tx_openimmo_label.button_request_label" extensionName="Openimmo" />
                        </f:link.external>
                    </f:then>
                    <f:else>
                        <f:link.action action="request" pageUid="{settings.request.defaultPid}" controller="Immobilie"
                                       pluginName="Request" arguments="{immobilie: immobilie}"
                                       class="btn btn-sm btn-outline-primary" title="{f:translate(key: 'tx_openimmo_label.button_request_title', extensionName: 'Openimmo')}">
                            <i class="fa fa-envelope-o"></i> <f:translate key="tx_openimmo_label.button_request_label" extensionName="Openimmo" />
                        </f:link.action>
                    </f:else>
                </f:if>
            </f:else>
        </f:if>

    </f:section>

Contact request

You can contact us at any time

Contact request
Screenreader label
Security question
O5K_________R________
P______W____M_7___DA5
969___ZRU___BE1______
I_3____Q______W___68T
8LC___________W______