In your template write {$object_you_just_fetched|attribute(show)}
Will show you all the attributes available for that object, for example if you saw something like
data_map array >name string
then your object would have attributes called data_map (an array) and name (a string inside data_map)
so you could call name with:
{$your_object_name.data_map.name}
see http://www.ez.no/ez_publish/documentation/customization/custom_design/template_variables_set_by_ezpublish there's more documentation on this as well, I'd scan through the "building an ezpublish site tutorial"
Yes, I know about that part of it. My question is how exactly do you fetch that object? I'm working with an object that has content.data_map.my_relation_object (for example). How do I fetch the actual object in my_relation_object?
Thanks for the help James. The final result - for anyone interested - can be found here: http://ez.no/community/forum/setup_design/fetching_an_object_using_contentobject_id
Cheers Jason
You must be logged in to post messages in this topic!