Forums / General / EZ object relation display
John Mangadan
Friday 04 December 2009 1:09:35 pm
Hi All,
I have a class atribute "Internal Link" of type object relation which is used to store the link to an internal article.I want to diaply in a template the corresponding url.I tried like {$links.data_map.internal_link.data_text}.But it shows nothing.Can anybody help me.I am new to ezpublish.
Thanks,
John
Ćukasz Serwatka
Tuesday 15 December 2009 12:04:00 am
Hi,
Take a look on the http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_functions/visualization/attribute_view_gui
You can use {attribute_view_gui} template function like:
{attribute_view_gui attribute=$links.data_map.internal_link}
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog