Author Topic

Hans Melis

Monday 30 August 2004 9:16:12 am

Comment16380

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.

Hans
http://blog.hansmelis.be