Loading...
Skip navigation

How to access a custom/user-defined XML node?

In order to access a custom/user-defined node, you just have to concatenate the XML-xpath into one identifier and use it within the getPropertyViewHelper. For example:

<immobilie>
  <kontaktperson>
    <email_direkt>mail(at)example(dot)org</email_direkt>
  </kontaktperson>
</immobilie>
{oi:getProperty(object: immobilie, index: 'kontaktperson_emailDirekt')}

or:

<immobilie>
  <verwaltung_techn>
    <user_defined_simplefield feldname="reserviert">ja</user_defined_simplefield>
  </verwaltung_techn>
</immobilie>
{oi:getProperty(object: immobilie, index: 'verwaltungTechn_userDefinedSimplefield_reserviert')}

In the identifier each XML nodename is divided by a _. If the nodename contains a _ it will be transformed to lower-camel-case.

Documentation
TYPO3 OpenImmo Extension

TYPO3 OpenImmo

TYPO3 OpenImmo is a real estate extension that reads in your objects via an OpenImmo import and displays them on your website.

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
P___________RK5______
1_C____6____T_S___IKZ
PTX___AD1___NWJ______
__6____6____Y_S___RDD
__2_________UTO______