Share » Forums » Setup & design » more related objects questions

more related objects questions

more related objects questions

Wednesday 09 November 2005 5:29:08 am - 4 replies

Modified on Wednesday 09 November 2005 5:29:52 am by j jevack

Author Message

Alexandre Abric

Wednesday 09 November 2005 5:39:14 am

Hi,

Try : {attribute_view_gui attribute=$vMyObject.data_map.image}

j jevack

Wednesday 09 November 2005 6:05:34 am

Greetings,

{attribute_view_gui attribute=$vMyObject.data_map.image} does not work either.

I guess i'm assuming that since i can access the related objects and display the name that I should be able to display the image. Is this incorrect?

Thanks,

Jason

Alexandre Abric

Wednesday 09 November 2005 6:21:54 am

have a look at :

{$vMyObject|attribute(show)}

If you can see the image attribute in the page, then the code above should work. If not, then you have to fetch the object, based on the node_id or the contentobject_id of $vMyObject.

j jevack

Wednesday 09 November 2005 7:16:25 am

{$vMyObject|attribute(show)} does provide the image attribute but {attribute_view_gui attribute=$vMyObject.image} provides no output.

I will try your sugestion to get the object id and then fetch that object.

Regards,

Jason

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu