[Zope] Epoz and Tidy

2005-04-29 Thread Robert (Jamie) Munro
How do I control tidy options when using Epoz and uTidyLib? I'd like it to output xhtml, but it is currently outputting uppercase tag names etc. Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Saving a Rendered DTML Document

2005-12-08 Thread Robert (Jamie) Munro
Asad Habib wrote: Hello. The PHP script that I use relies on a path to locate the HTML file on the file system and since the DTML document is a Zope object, it does not have access to that. I also tried using a Zope File object as well as a DTML document that is part of a Local File System.

[Zope] Storing things in the session from ZPT

2006-02-24 Thread Robert (Jamie) Munro
How can I put something in a session from ZPT? I've tried: div tal:define=session/foo request/foo div tal:define=foo python:session['foo']=request['foo'] Do I really have to write a python method just to assign a single value? Robert (Jamie) Munro

[Zope] TAL page whitespace removal

2006-04-10 Thread Robert (Jamie) Munro
(Jamie) Munro ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] TAL page whitespace removal

2006-04-12 Thread Robert (Jamie) Munro
Dieter Maurer wrote: Robert (Jamie) Munro wrote at 2006-4-10 13:14 +0100: For example, I downloaded the www.plone.org home page and it was 47704 bytes. I removed all whitespace from the beginning and end of lines, and then removed blank lines, and it was down to 35087 bytes - that's

[Zope] Generic SQL insert

2006-04-13 Thread Robert (Jamie) Munro
Whenever I'm using SQL databases in zope, I always seem to have to make a ZSQL instance for inserting into every table in my database, and they are all nearly the same - they just have a list of all the fields in the database in the parameters, then they say: insert into [table] ([list of

[Zope] PAS and md5 or crypt passwords

2006-10-10 Thread Robert (Jamie) Munro
How do you use md5 passwords in PAS? I've got an SQL database already populated with usernames and md5 passwords from an old system that I am replacing - I don't have the cleartext passwords. Thanks, Robert (Jamie) Munro ___ Zope maillist - Zope

Re: [Zope] Re: PAS and md5 or crypt passwords

2006-10-12 Thread Robert (Jamie) Munro
Tres Seaver wrote: Robert (Jamie) Munro wrote: How do you use md5 passwords in PAS? I've got an SQL database already populated with usernames and md5 passwords from an old system that I am replacing - I don't have the cleartext passwords. You write an authentication plugin which takes

Re: [Zope] Re: PAS and md5 or crypt passwords

2006-10-16 Thread Robert (Jamie) Munro
be fixed. Thanks for everyone's advice, though. Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] cpu load 99 percent a lot in plone evinironment

2007-02-13 Thread Robert (Jamie) Munro
. There seems to be a built in method - .dictionaries() that does exactly this. Unfortunatley, neither it, nor a simple external method I wrote to call my ZSQL methods seemed to help me. Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org http

Re: [Zope] cpu load 99 percent a lot in plone evinironment

2007-02-15 Thread Robert (Jamie) Munro
the top of the page loads quickly, and the rest loads section by section before people scroll down to it. I was thinking I would have to do something like this, and your links made it really easy. Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org

Re: [Zope] How to get nice traceback like from old versions?

2008-03-03 Thread Robert (Jamie) Munro
on an old DTML product, and it is impossible to debug without line numbers of exceptions. Otherwise I might have to downgrade zope to 2.5 - thanks for that tip from Jaroslav Lukesh - I had no idea that it used to be better. Thanks, Robert (Jamie) Munro

Re: [Zope] Managing Zope objects in Subversion

2008-03-03 Thread Robert (Jamie) Munro
/tseaver/FSDump Although compatibility between the 2 is not perfect - not everything you dump is usable in File System Site unmodified, they do make a good combination. Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org http://mail.zope.org