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.

Displaying QR Codes

The Pro version of the OpenImmo extension gives you the option of displaying QR codes in online exposés and PDF files.

In an online exposé, all you need to do is use the following fluid code to display the QR code as an image anywhere:

<div class="openimmo-details-qr-code">
    <f:image src="fileadmin/user_upload/tx_openimmo/qr-codes/{settings.qrCodeImage}" alt="foo" title="bar" maxHeight="150" />
</div>

For a PDF exposé you can use the following fluid code:

<fpdf:variable.set name="qrCodeImage" value="fileadmin/user_upload/tx_openimmo/qr-codes/{settings.qrCodeImage}" />
<fpdf:image x="10" y="20" height="30" filename="{f:uri.image(src: qrCodeImage)}" />

For the bookmarks PDF you will need fluid code such as the following:

<f:for each="{settings.qrCodeImage}" as="qrCodeFilename" key="immobilieUid">
    <f:if condition="{immobilieUid} == {immobilie.uid}">
        <fpdf:variable.set name="qrCodeImage" value="fileadmin/user_upload/tx_openimmo/qr-codes/{qrCodeFilename}" />
        <fpdf:image x="165" y="60" height="30" filename="{f:uri.image(src: qrCodeImage)}" />
    </f:if>
</f:for>

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
T___________QZR______
J_Y____B____S_C___XHD
XEJ___MST___6_M______
__8____F____W_6___KR2
__W_________B8W______