Paul is right, we should move our enhanced selection datatype to the public repository. I'll make a mental note ;-)
Leandro, did you really make your own datatype or did you just put the datatype "Selection" in one of the content classes you created? If you did the latter, it should be as simple as calling {attribute_view_gui attribute=$node.object.data_map.rating}.
If you did make your own datatype (which is PHP code) it all depends on how you've structured the data. In general, the .content property contains the result of the function objectAttributeContent() in the datatype.
I didn't make my own datatype, I just put the datatype "Selection" in one of my content class. :) The {attribute_view_gui attribute=$node.object.data_map.rating} works fine here...
Thank's again Leandro
You must be logged in to post messages in this topic!