--- ECHO_content/VLPExtension.py 2005/02/28 20:02:08 1.41 +++ ECHO_content/VLPExtension.py 2005/03/01 11:30:57 1.43 @@ -349,7 +349,11 @@ class VLP_subcollection(ECHO_collection) def index_html(self): """erzeuge darstellung""" - pt=zptFile(self, 'vlp/collection_template.zpt') + + if hasattr(self,'subCollection_template.html'): + return getattr(self,'subCollection_template.html')() + + pt=zptFile(self, 'vlp/subCollection_template.zpt') return pt() @@ -639,7 +643,7 @@ class VLP_resource(ECHO_resource,Cacheab temp=[] ret.sort() for x in ret: - if (not (x[0]==".")) and (not x in excludeNames): + if (not (x[0]==".")) and (not x[0:4] in excludeNames): temp.append((calculateName(x),os.path.splitext(x)[0])) return temp