An object relation is an abstract relation to another object. In your template you can access this relation (and the related object) and choose to display it in whatever way you like (e.g a link, an image, the complete object etc.)
That sounds like a good programming technique! Could you point me to a few tutorials on how to handle these Object Relations in a template -- or just explain it to me briefly, please?
Thank you! Clemens
You access it similarly to any other attribute of your content objects (using data_map.name_of_your_relation_attribute). You can use {$var_name|attribute(show)} on it to see what it contains. Usually you either display the contents of the related object directly using your own HTML markup or you use one of the GUI functions like attribute_view_gui or content_view_gui.
How can I override the template, because the folder structure doesn't make much sense to me -- I can't get it to work by placing a file in the /override/ dir. That's all you have to do right? Could you illustrate the usage of /override/ with one tmpl?
Great!
You must be logged in to post messages in this topic!