--- ECHO_content/VLPExtension.py 2004/07/13 16:57:06 1.11 +++ ECHO_content/VLPExtension.py 2004/07/16 16:31:12 1.13 @@ -3,7 +3,11 @@ from Products.PageTemplates.PageTemplate from Products.PageTemplates.PageTemplate import PageTemplate from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate -from Products.zogiLib import zogiLib +try: + from Products.zogiLib import zogiLib +except: + print "Zogilib not installed, VLP_resource will not work" + import xml.dom.minidom import urllib @@ -220,7 +224,8 @@ class VLP_resource(ECHO_resource): if self.REQUEST.get('p',None): self.REQUEST.set('pn',self.file2page(self.REQUEST.get('p',None))) - + + pt=PageTemplateFile('Products/ECHO_content/vlp/library_template.zpt').__of__(self) pt.content_type="text/html" return pt()