--- ECHO_content/VLPExtension.py 2004/08/06 11:46:30 1.17 +++ ECHO_content/VLPExtension.py 2004/08/06 15:03:58 1.19 @@ -78,11 +78,8 @@ class VLP_essay(Folder): """show the rendered file""" - if self.REQUEST.get('p',None): - self.REQUEST.set('pn',self.file2page(self.REQUEST.get('p',None))) - - if hasattr(self,'libraryTemplate.html'): - return getattr(self,'EssayTemplate.html')() + if hasattr(self,'essayTemplate.html'): + return getattr(self,'essayTemplate.html')() pt=PageTemplateFile('Products/ECHO_content/vlp/essay_template.zpt').__of__(self) pt.content_type="text/html" @@ -135,6 +132,18 @@ class VLP_essay(Folder): retstr=url+"?p="+str(int(pagenum)-1) return """