Forums / Setup & design / Find related templates
lorenzo messori
Monday 09 May 2005 10:54:39 am
Hi all, i have some problems when i have to find a template design. 4 ex: i have to find the template used for the object related layout. I'm explaining well now: i had create a new CLASS and call it MEMBERS, in this class i'd insert a "Relation Object List".I'd create a new Override to display this class and i call every object with this script
<div class="member_info"> <div class="sx_col">{$node.object.data_map.nome_associato.contentclass_attribute.name}:</div> <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.nome_associato}</div> <div class="sx_col">{$node.object.data_map.socio_fondatore.contentclass_attribute.name}:</div> <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.socio_fondatore}</div> <div class="sx_col">{$node.object.data_map.tipo_attivita.contentclass_attribute.name}:</div> <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.tipo_attivita}</div> <div class="sx_col">{$node.object.data_map.web_site.contentclass_attribute.name}:</div> <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.web_site}</div> <div class="sx_col">{$node.object.data_map.email.contentclass_attribute.name}:</div> <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.email}</div> <div class="sx_col">{$node.object.data_map.telefono.contentclass_attribute.name}:</div> <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.telefono}</div> <div class="clear"></div> <div class="v_spacer"></div> <div class="sx_col">{$node.object.data_map.desc_attivita.contentclass_attribute.name}:</div> <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.desc_attivita}</div> <div class="v_spacer"></div> <div class="sx_col">{$node.object.data_map.dove_trovarli.contentclass_attribute.name}:</div> <div class="dx_col"><b>{attribute_view_gui attribute=$node.object.data_map.dove_trovarli}</b></div> <div class="v_spacer"></div> {* <div>{attribute_view_gui attribute=$node.object.data_map.images}<div>*} </div>
The last DIV recall the Related Object List, but give it an unuseful difficult layout. I would like to change it, but to do it i have to find the relative template and create a new Override.May anyone help me?
P.S.: sorry 4 my bad english
Thx previously
Ćukasz Serwatka
Wednesday 18 May 2005 1:14:24 am
If you using ezobjectrelationlist then you will have to look in to design\standard\templates\content\datatype\view\ezobjectrelationlist.tpl
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog