Re: [Zope] How To Convert Files To Page Templates?

2006-11-08 Thread Chris Withers
Nancy Donnelly wrote: That helped a lot! I yahoo'd (can't google any more since they've sold out to the interests gathering our personal data for Homeland Security) put_factory and got this code snippet: if ext == 'dtml': from OFS.DTMLDocument import DTMLDocument return DTMLDocument(

Re: [Zope] How To Convert Files To Page Templates?

2006-11-08 Thread Nancy Donnelly
73- Original Message From: Maciej Wisniowski [EMAIL PROTECTED] I'm not sure whether it is what you're looking for but it may be one of simplest solutions that you may change if you need to. As Andreas said before, ask a specific question :) 1. Log into ZMI and create a folder called

Re: [Zope] How To Convert Files To Page Templates?

2006-11-08 Thread Nancy Donnelly
72- Original Message From: Chris Withers [EMAIL PROTECTED]Nancy Donnelly wrote: That helped a lot! I yahoo'd (can't google any more since they've sold out to the interests gathering our personal data for Homeland Security) "put_factory" and got this code snippet: if ext == 'dtml':

[Zope] Re: Extra Fancy Template Manipulation

2006-11-08 Thread Philipp von Weitershausen
Edward Pollard wrote: Hi all, I've got three subsites that formerly used three different templates. I'd like for them now to use the same template, but I'd prefer not to have to touch the thousands of pages of content that currently point in three different places for their template. The easy

[Zope] Zope2.9 sqllite

2006-11-08 Thread Chris Hoy
Hi I am trying to get a zope site to use sqlite database. I have the following setup Zope 2.9 ZSQLiteDA ZSQLiteDA-0.4.1 Pysqlite 2.3.2 I can connection to the database but whenever it try to render a page template that uses a SQL Method to get data from the database I get the following error

[Zope] Can't Track Simple Bug

2006-11-08 Thread Nancy Donnelly
7474Hi;I have two Zope instances. On one of them, I have a boilerplate script that I use for all my clients' Web sites. Works fine. Has for years. I decided to copy it over to my other instance and I get an error. Here's the line in question:p tal:on-error="string: mailScript() isn't defined!

Re: [Zope] __bobo_traverse__ help

2006-11-08 Thread Dieter Maurer
Garito wrote at 2006-11-8 02:50 +0100: Please consider this code: def __bobo_traverse__(self, REQUEST, name): obj = self.Propiedad(name) if obj is None: return self else: return obj def Propiedad(self, propiedad): obj = getattr(self, propiedad, None) if obj is

Re: [Zope] Can't Track Simple Bug

2006-11-08 Thread Maciej Wisniowski
p tal:on-error=string: mailScript() isn't defined! This should be in your *s* dir with the default installation. tal:replace=structure python:here.mailScript() / Use just: p tal:replace=structure python:here.mailScript() / and tell us what error do you see now. tal:on-error catches

Re: [Zope] Can't Track Simple Bug

2006-11-08 Thread Nancy Donnelly
7171- Original Message From: Maciej Wisniowski [EMAIL PROTECTED] Use just: p tal:replace="structure python:here.mailScript()" / and tell us what error do you see now.Silly me! I got so caught up in that error that I didn't think to check the error log! It said it couldn't find a Mail

Re: [Zope] __bobo_traverse__ help

2006-11-08 Thread Garito
Dieter Maurer escribió: Garito wrote at 2006-11-8 02:50 +0100: Please consider this code: def __bobo_traverse__(self, REQUEST, name): obj = self.Propiedad(name) if obj is None: return self else: return obj def Propiedad(self, propiedad): obj = getattr(self,

[Zope-dev] Zope Tests: 9 OK

2006-11-08 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Nov 7 11:00:00 2006 UTC to Wed Nov 8 11:00:00 2006 UTC. There were 9 messages: 9 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.6 Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Nov 7 21:23:26 EST 2006