Forums / Developer / Put attribute into variable / Comment40934
Enk bila
Monday 21 June 2004 7:49:26 am
Thanks but now I've too many informations :
Attribute Type Value id string 1257 contentobject_id string 108 version string 8 language_code string 'eng-GB' contentclassattribute_id string 287 attribute_original_id string 0 sort_key_int string 0 sort_key_string string '' data_type_string string 'ezenum' data_text string '' data_int string 0 data_float string 0 contentclass_attribute object[ezcontentclassattribute] Object >id string 287 >name string 'Formulaire à appliquer' >version string 0 >contentclass_id string 16 >identifier string 'formulaire' >placement string 14 >is_searchable string 1 >is_required string 0 >can_translate string 1 >is_information_collector string 0 >data_type_string string 'ezenum'
etc...
In fact , I created an attribut (Enum) and with the content of this attribut I try to use a spécifique template ex :
If my attribut content is "XX.tpl" and his name is "formulaire" I would lyke introduce this line in my master template :
{include uri="design:" $formulaire}
If you can help me or if you have e alternative solution -- Many tahnks --
regards