Saturday 14 March 2009 2:13:57 pm
Hello, I created an attribute with identifier "color" and datatype: 'selection' for every class. I try to find out what is the solution to get value for this attribute which is present in all classes. Example: If current class is Folder and have attribute 'color' selected "Blue" i have to keep the "Blue" string value in one variable. <b>I have to define this variable in pagelayout.tpl.</b> Until now i find out how to get the list with attributes of the current class. {def $attributes=fetch( 'content', 'class_attribute_list', hash( 'class_id', $content_info.class_id ) )}
Any suggestion how to do this? Sorry for my bad english. Many thanks, Andrei
What do I do?! What do I do?!?
|