Re: [ZPT] Dreamweaver, ZPT, and design workflow

2008-03-20 Thread Chris Withers
S Paschall wrote: a TAL plug-in for Dreamweaver that handles macros intelligently? Or a design, implementation, and site maintenance workflow that allows your designers to have a fair level of control over your templates? I gave up and wrote Twiddler for this reason:

Re: [ZPT] Re: Setting i18n:domain to a variable

2006-11-27 Thread Chris Withers
Josef Meile wrote: that manner. Anyway, I guess the only way is to translate the message programatically instead. This sounds like the correct thing to do here... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [ZPT] Re: Setting i18n:domain to a variable

2006-11-24 Thread Chris Withers
Josef Meile wrote: html body tal:omit-tag= tal:define=domain python:request.get('domain','JMGui') div tal:replace=domain/ h2 i18n:domain=JMMessages i18n:translate=Wrong selection/h2 h2 tal:attributes=i18n:domain domain; i18n:translate string:Wrong

Re: [ZPT] Strange session behavior with macro-call

2006-07-02 Thread Chris Withers
Jeff Peterson wrote: Why not just use PAS or Cookie Crumbler? ;-) I guess I could look at that...I am having to authenticate against an existing database of usernames and passwords so I just wrote it myself. Eee gads, if your existing database is relational, SimpleUserFolder makes it

Re: [ZPT] Strange session behavior with macro-call

2006-06-27 Thread Chris Withers
Jeff Peterson wrote: I have a page template that calls a couple of scripts at the beginning, they are setting session objects and redirecting to a login screen if certain session objects don't exist. Why not just use PAS or Cookie Crumbler? ;-) the content for this page. When the macro is

Re: [ZPT] Re: Suggestion about commenting for future TAL versions

2005-12-15 Thread Chris Withers
Mikko Ohtamaa wrote: Do you know who is working with TAL engine? I'd like to be sure that the suggestion reached the correct person =) Don't worry, it reached all none of them ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [ZPT] Bug in ZPT ?

2005-11-15 Thread Chris Withers
Dieter Maurer wrote: Rumours say that Python will finally (probably with Python 2.5) grow a conditional operator -- lately overdue... Yeah, sadly, IIRC, the spelling is horrible :-( Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [ZPT] How to create a file on the fly ?

2005-10-13 Thread Chris Withers
Nicolas Georgakopoulos wrote: Okay, now where can I find a brick wall to go and smash my head into? Are you mad ? :-( Only since trying to help you out ;-) OK for the mail but for the file I think this is the right list , doesn't ? NO. This is the Zope Page Template list, for ZPT, and

Re: [ZPT] ZPT and ZSqL question

2005-10-12 Thread Chris Withers
Tom Twyman wrote: Hello all! I am trying to construct a login page. Look for SimpleUserFolder and CookieCrumbler ;-) I have users registering on the site using ZPT, python script, and ZSQL methods, and their account information is held in a table (clients) in a psql database. Now, I

Re: [ZPT] sending email

2005-10-12 Thread Chris Withers
Tom Twyman wrote: Hello all! I am trying to send an email from a login page as a form of confirmation. I have the following script inserted into the python script that performs the login: MailTemplates are your friend: http://www.simplistix.co.uk/software/zope/mailtemplates Look at the