--- ECHO_content/ECHO_collection.py 2004/05/06 10:27:07 1.52 +++ ECHO_content/ECHO_collection.py 2004/05/06 13:12:07 1.55 @@ -551,6 +551,10 @@ class ECHO_link(ECHO_externalLink): meta_type="ECHO_link" + def content_html(self): + """template fuer content""" + return content_html(self,'link') + def manage_addECHO_linkForm(self): """Form for external Links""" pt=PageTemplateFile('Products/ECHO_content/zpt/AddECHO_linkForm.zpt').__of__(self) @@ -852,8 +856,10 @@ class ECHO_collection(Folder, Persistent return self.showOverview() elif hasattr(self,'collection_index_template'): return self.collection_index_template() + elif hasattr(self,'main_index_template'): + return self.main_index_template() - pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_collection_index_standard.zpt').__of__(self) + pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_main_index_template_standard.zpt').__of__(self) pt.content_type="text/html" return pt() @@ -944,10 +950,10 @@ class ECHO_group(ECHO_collection): return self.showOverview() elif hasattr(self,'group_index_template'): return self.group_index_template() - elif hasattr(self,'collection_index_template'): - return self.collection_index_template() + elif hasattr(self,'main_index_template'): + return self.main_index_template() - pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_group_index_standard.zpt').__of__(self) + pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_main_index_template_standard.zpt').__of__(self) pt.content_type="text/html" return pt()