Re: [Zope] IE v. Firefox for viewing Zope sites

2005-06-16 Thread Phillip Hutchings
it ;) -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ 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

Re: [Zope] Working with CSS'

2005-06-06 Thread Phillip Hutchings
that checks using dtml-if, or you could even make news_title.jpg a python script that writes back an image depending on where the user is from. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org

Re: [Zope] Finding an object in a folder

2005-05-26 Thread Phillip Hutchings
false if the value is false is potentially dangerous - I may want to retrieve a false value. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] Finding an object in a folder

2005-05-26 Thread Phillip Hutchings
On 27/05/05, Paul Winkler [EMAIL PROTECTED] wrote: On Fri, May 27, 2005 at 09:20:52AM +1200, Phillip Hutchings wrote: Well, it doesn't distinguish between an attribute which doesn't exist and an attribute which has any false value. This makes it unsuitable as a hasattr() replacement

Re: [Zope] Still. Zope date datatype and TimeZone formatting problems.

2005-05-25 Thread Phillip Hutchings
/ as separator ? Because it's not a bug, you're specifying an ISO 8601 date with no timezone qualifier, so it's assuming UTC, just like the spec says. I'm not claiming that the behaviour is what people want, but as long as Zope interprets ISO 8601 by the standard, then this isn't really a bug. -- Phillip

Re: [Zope] Can ZPT form call a url?

2005-05-24 Thread Phillip Hutchings
, as the specs are ambiguous. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] surprising interaction between Javascript and Zope

2005-05-24 Thread Phillip Hutchings
there, or use XmlHttpRequest to perform a subrequest. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] newbie question

2005-05-24 Thread Phillip Hutchings
... And the real problem: TypeError: can only concatenate tuple (not list) to tuple Like it says, you're supplying a list, you want a tuple. It looks like you need to update PluginIndexes, I don't know where they come from. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL

Re: [Zope] newbie question

2005-05-24 Thread Phillip Hutchings
to /manage_workspace, see if that works. Is Zope behind a proxy? It's possible that it's being done with a URL rewrite somewhere. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] question about login

2005-05-12 Thread Phillip Hutchings
On 13/05/05, Chris Withers [EMAIL PROTECTED] wrote: Phillip Hutchings wrote: On 03/05/05, Dennis Allison [EMAIL PROTECTED] wrote: Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make

Re: [Zope] How to find out the full URL

2005-05-11 Thread Phillip Hutchings
this with IE6 and FireFox 1.0.3. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] How to make a ZPT-based form that calls itself?

2005-05-11 Thread Phillip Hutchings
')() to get the actual object. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Re: HTML post processing in Zope

2005-05-05 Thread Phillip Hutchings
think that using Apache would be faster, but I may be wrong. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
?? It sounds like you're calling a method that's either restricted or set to a non-anonymous access level. What product are you using to allow you to use forms to log in? Can you post the DTML code? -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED

Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
... -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ 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

Re: [Zope] bypass authentication

2005-05-02 Thread Phillip Hutchings
acl_users.getUser(REQUEST.name) without having to login first?? (Zope tells me that I don't have permission to use the getUser method) Read up on Proxy Roles. We have the Zope Book for a reason. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED

Re: [Zope] manage_edit for Page Templates

2005-04-25 Thread Phillip Hutchings
though thanks rushabh A quick look at zope-2.7.4/lib/python/Products/PageTemplates/PageTemplate.py gives me this: def pt_edit(self, text, content_type): Where text is the new content, and content_type is self explanatory. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL

Re: [Zope] Newbie - Cannot cut and paste objects in ZMI

2005-04-21 Thread Phillip Hutchings
ballgame. Check that you have cookies enabled, the ZMI uses cookes to store the clipboard data. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] index.html in Python Script?

2005-04-21 Thread Phillip Hutchings
) The . is the python object referencing notation, so you can't have a property called 'index.html' addressable in the normal way. Use getattr instead. return getattr(container, 'index.html')(context, request) It's all in the Zope documentation. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL

Re: [Zope] Zope support for Blender .blend files

2005-04-20 Thread Phillip Hutchings
not have the correct MIME type associated automatically, but that's easy to fix. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Does anyone care whether we deprecate Your Favourite Part of Zope

2005-04-07 Thread Phillip Hutchings
to export them to a product. I started with python scripts and then a product. Basic products are simple and development can be quite fast with refreshing turned on. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope

Re: [Zope] getting all fields from dynamic checkboxes

2005-04-03 Thread Phillip Hutchings
the values up with the checkbox they came from). You need to keep a server-side list of the checkboxes and check which ones aren't there. Web browsers don't send back checkboxes that aren't checked - it's an HTML feature. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL

[Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Phillip Hutchings
a product to do the (quite simple) task in less time than I spent scratching my head at ZClasses. Personally I'd make them in to a Product for 2.10 and let anyone who cares make it work with 2.10. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED

[Zope] Re: next part of tal:atrributes problem

2005-03-31 Thread Phillip Hutchings
to read, with proper capitalisation and words spelt out in full. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML