Re: [Zope] ZCatalog : Searching Multiple Indexes : Returning One Result

2008-07-09 Thread Tom Von Lahndorff
ROTECTED]> wrote: > > - Original Message ----- From: "Tom Von Lahndorff" <[EMAIL PROTECTED]> > To: "zope list user" > Sent: Monday, July 07, 2008 3:42 PM > Subject: [Zope] ZCatalog : Searching Multiple Indexes : Returning One > Result > > > &

[Zope] ZCatalog : Searching Multiple Indexes : Returning One Result

2008-07-07 Thread Tom Von Lahndorff
Hi, I have a catalog called "catalog" that contains a bunch of cataloged items. I have indexed 3 properties for each item, "name", "body" and "description". I'd like to be able to search the catalog in the following way: if the word "text" shows up in any index, "name", "body" or "description", re

Re: [Zope] statistics and click analysis for a plone site

2008-06-02 Thread Tom Von Lahndorff
Highly recommend Google Analytics: http://www.google.com/analytics/ I've used it myself to track usage for a zope intranet which is only accessible on an internal network. On Mon, Jun 2, 2008 at 6:52 AM, robert rottermann <[EMAIL PROTECTED]> wrote: > Hi there, > for a Client using a plone2 intrane

[Zope] Re: manage_tabs.dtml (was manage_users.dtml)

2008-04-25 Thread Tom Von Lahndorff
It was using manage_tabs.dtml in /Products/ExternalEditor. Wow, that was driving me nuts. On Fri, Apr 25, 2008 at 4:08 PM, Tom Von Lahndorff <[EMAIL PROTECTED]> wrote: > Sorry!! I meant /python/App/dtml/manage_tabs.dtml > > -- Forwarded message ------ > From:

[Zope] manage_tabs.dtml (was manage_users.dtml)

2008-04-25 Thread Tom Von Lahndorff
Sorry!! I meant /python/App/dtml/manage_tabs.dtml -- Forwarded message -- From: Tom Von Lahndorff <[EMAIL PROTECTED]> Date: Fri, Apr 25, 2008 at 4:07 PM Subject: manage_users.dtml To: zope list user I'm using Zope 2.10.5. Made a change to /python/App/dtml/manage

[Zope] manage_users.dtml

2008-04-25 Thread Tom Von Lahndorff
I'm using Zope 2.10.5. Made a change to /python/App/dtml/manage_users.dtml and it's not showing up after I rebooted. I even removed /python/App/dtml/manage_users.dtml altogether and and rebooted and the app came up fine, still not showing the change. Is there another file that controls the ZMI tabs

Re: [Zope] simple use case for rotating images

2008-04-16 Thread Tom Von Lahndorff
Also check out: Google AJAX Slide Show http://www.google.com/uds/solutions/slideshow/index.html On Wed, Apr 16, 2008 at 12:52 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: > > > > --On 16. April 2008 09:32:38 -0700 David Bear <[EMAIL PROTECTED]> wrote: > > > > We are finding that flash is used to ge

Re: [Zope] anyone heard of Zamasing?

2008-04-16 Thread Tom Von Lahndorff
Thats pretty awesome. It's "zamazing" to me that Zope 2 is not a de facto platform for "Web 2.0" projects. I think it has some major benefits over Rails and maybe even Django but there seems to be no interest in it from that community. This is a great start. On Wed, Apr 16, 2008 at 6:40 AM, Peter

Re: [Zope] Conditional dtml-boundary in dtml-sendmail

2008-04-10 Thread Tom Von Lahndorff
How is dtml more "error-prone" than python? I'd imagine that all depends on who's authoring it. > On Wed, Apr 9, 2008 at 11:59 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: > > > > > > > --On 9. April 2008 22:40:01 +0200 Josef Meile <[EMAIL PROTECTED]> > > wrote: > > > > Dear list > > > > > > I'm

Re: [Zope] Conditional dtml-boundary in dtml-sendmail

2008-04-10 Thread Tom Von Lahndorff
The email library should be available to use with a Script (Python) and can be done all within the ZMI. Otherwise maybe use dtml-try? On Wed, Apr 9, 2008 at 4:40 PM, Josef Meile <[EMAIL PROTECTED]> wrote: > Dear list > > I'm trying to send a multi-part email after having submitted a > form. In th

Re: [Zope] Can Zope do this...?

2008-02-08 Thread Tom Von Lahndorff
On Feb 7, 2008, at 2:19 PM, Eric Gorr wrote: I need to create a site that works similarly to php.net...the problem is the same - to document a language. From what I've seen, zope is fully capable of doing nearly everything I need it do, but I am uncertain about one aspect...check out:

Re: [Zope] Z2.log

2008-01-30 Thread Tom Von Lahndorff
On Jan 30, 2008, at 12:28 PM, Jens Vagelpohl wrote: On Jan 30, 2008, at 18:17 , Tom Von Lahndorff wrote: Can /log/Z2.log be deleted? On restart is fresh file created? Yup. Also, is max-bytes supported for logfiles in zope.conf? What's that? Saw it referenced here:

[Zope] Z2.log

2008-01-30 Thread Tom Von Lahndorff
Can /log/Z2.log be deleted? On restart is fresh file created? Also, is max-bytes supported for logfiles in zope.conf? Thanks, Tom ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (R

Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tom Von Lahndorff
There's nothing wrong with the ZMI. You're just try to hack into some kind of cms rather than just build one. Hiding a link with css is nasty hack and major security issue. While it may seem like what you're doing is an easy path to a quick cms, you're really just setting yourself up for

Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tom Von Lahndorff
You really should be writing a custom UI for this rather than hacking the ZMI. It will probably take less time, be much more manageable, flexible and secure. On Jan 16, 2008, at 8:05 PM, Tim Nash wrote: The other important difference between ajax loaded pages and iframes is that when you

Re: [Zope] Plone middle aligns all colums

2008-01-17 Thread Tom Von Lahndorff
If you've introduced tables into the overall layout tds will not align the content to the top by default. You'd need to add "td {vertical- align: top}" to your css. I doubt the problem has to do with a setting in Plone or Zope. It would be easier to trouble shoot this if there were a link

Re: [Zope] Intercept request

2008-01-07 Thread Tom Von Lahndorff
On Jan 7, 2008, at 9:18 AM, David Chelimsky wrote: On Jan 7, 2008 8:06 AM, Andreas Jung <[EMAIL PROTECTED]> wrote: --On 7. Januar 2008 08:00:27 -0600 David Chelimsky <[EMAIL PROTECTED] > wrote: Hi, I want to show different things to different viewers based on their IP addresses. How can

Re: [Zope] Intercept request

2008-01-07 Thread Tom Von Lahndorff
On Jan 7, 2008, at 9:00 AM, David Chelimsky wrote: Hi, I want to show different things to different viewers based on their IP addresses. How can I do this? Cheers, David swap out "theipaddress" with the actual IP. true true false Tom ___

Re: [Zope] Best Practice for including Javascript in Zope Applications

2008-01-02 Thread Tom Von Lahndorff
On Jan 1, 2008, at 7:20 PM, Matt Hollingsworth wrote: Hello, I’m new to developing for zope, and I have a quick question regarding some best practices when using Javascript in zope applications. I would like to use Ext JS (http://www.extjs.com/ ) in an application that I am writing. It

Re: [Zope] Frustrated with Python and Frameworks. Zope, Grok, Django, CherryPy

2007-11-27 Thread Tom Von Lahndorff
Zope2 + DTML + Python and you're good to go. I know a bunch of developers/designers, including myself that use this combo all the time. I currently use it for projects at a Fortune 500 company. The docs suck but once you get in the groove you can bang out solid, stable, good looking, stan

[Zope] Zope Jobs

2007-11-06 Thread Tom Von Lahndorff
Anyone have any recommendations for a good place to post a Zope job? Its for a freelance, work from where ever gig. Thanks. Tom ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] WYSIWYG editors? (was: SOAPMethod)

2007-09-04 Thread Tom Von Lahndorff
d DTML but I would tell someone to try both and decide and not just tell them to use what I prefer. On Sep 4, 2007, at 3:32 PM, Sascha Welter wrote: (Mon, Sep 03, 2007 at 12:10:13PM -0400) Tom Von Lahndorff wrote/ schrieb/egrapse: ...People on this list though will always recommend TAL becau

Re: [Zope] Stripping Quotes

2007-09-04 Thread Tom Von Lahndorff
doesn't work. the double quotes are not escaped and zope sees them as the end of the expression. > From: "Jaroslav Lukesh" <[EMAIL PROTECTED]> > Date: August 29, 2007 6:16:12 PM EDT > To: "Zope user list" , "Tom Von Lahndorff" > <[

Re: [Zope] SOAPMethod

2007-09-04 Thread Tom Von Lahndorff
SOAP query when i view the source code. The SOAPMethod product recommends DTML but I have followed the example they give and this is what is happening. Mark On Monday 03 September 2007 17:32, Jonathan wrote: - Original Message ----- From: "Tom Von Lahndorff" <[EMAIL

Re: [Zope] SOAPMethod

2007-09-03 Thread Tom Von Lahndorff
Hi Mark, There's nothing wrong with using DTML instead of TAL. each have their drawbacks and benefits and it really comes down to user choice and job requirements. People on this list though will always recommend TAL because they are mostly developers who use WYSIWYG html editors. If you

[Zope] Stripping Quotes

2007-08-29 Thread Tom Von Lahndorff
Whats the best way to strip (double and/or single) quotes from a string in python and/or dtml? Thanks. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://m

Re: [Zope] Can t start Zope

2007-08-28 Thread Tom Von Lahndorff
__ try: result = render_blocks(self._v_blocks, md) Unauthorized: You are not allowed to access 'admin' in this context Any ideas? On Aug 28, 2007, at 12:37 PM, Andreas Jung wrote: --On 28. August 2007 12:32:42 -0400 Tom Von Lahndorff <[EMAIL PROTECTED]> wrote: impo

[Zope] Can't start Zope

2007-08-28 Thread Tom Von Lahndorff
Getting the following error. Thanks in advance. ]# ./zopectl start Traceback (most recent call last): File "/opt/zope/Zope-2.10.1_Software/lib/python/Zope2/Startup/ zopectl.py", line 322, in ? main() File "/opt/zope/Zope-2.10.1_Software/lib/python/Zope2/Startup/ zopectl.py", line 280,

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
all its lovely hidden fields, then reproduce it somewhere so I can send it off to PP. That is, the form must return from the called script to a new page and deliver all the renumbered hidden fields. TIA, Tony -Original Message- From: Tom Von Lahndorff <[EMAIL PROTECTED]> To

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
he called script to a new page and deliver all the renumbered hidden fields. TIA, Tony -Original Message- From: Tom Von Lahndorff <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; zope@zope.org Sent: Mon, 13 Aug 2007 4:59 pm Subject: Re: [Zope] Form-Through-Script

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
t;> See, I have a definition of "docs", but it's not pointing to a "use- macro" widget. Must be the problem, but how do I do that? TIA, Tony -----Original Message- From: Tom Von Lahndorff <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; zo

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
I think you want: method="post" enctype="multipart/form-data"> http://example.com/s/renumberTheCart"; method="post"> (my tal may be a bit off) On Aug 13, 2007, at 4:09 PM, [EMAIL PROTECTED] wrote: No, it should work the way it is...that is a URL I passed. I changed it to an absolute

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
On Aug 13, 2007, at 3:55 PM, Andreas Jung wrote: --On 13. August 2007 15:39:40 -0400 [EMAIL PROTECTED] wrote: Hi; I have a form that I need to send to a script and then send off to a URL (PayPal). I need to process it through the script to renumber things for PP. How do I do this? I im

Re: [Zope] Logon process

2007-07-05 Thread Tom Von Lahndorff
Not sure if it's exactly what you're looking for but you may want to check out the Cookie Crumbler product. http://packages.debian.org/stable/source/zope-cookiecrumbler On Jul 5, 2007, at 2:41 AM, Garito wrote: Hi all! I've developed a site that if you are not logged in renders in a way b

Re: [Zope] Mac OS X Server StartupItem for Zope

2007-06-28 Thread Tom Von Lahndorff
I've used Automator to create an app that I have as a startup item which restarts Zope on reboot. You could also use iCal for scheduling. In Automator choose "Automator" under "Library" and then "Run Shell Script" and type in your script, save that as an Application then add it to your st

Re: [Zope] Zope products that allows people to Add Comments to publications

2007-06-27 Thread Tom Von Lahndorff
I've been using it for years without issue. Very easy to set up and configure. Currently have it running in a 2.9 *and* 2.10 instance. On Jun 27, 2007, at 10:19 AM, Chris Withers wrote: Andreas Jung wrote: Forget Squishdot, it's unmaintained since 4 years. Urm, excuse me, but that's just

Re: [Zope] Zope products that allows people to Add Comments to publications

2007-06-25 Thread Tom Von Lahndorff
check out http://www.squishdot.org On Jun 25, 2007, at 3:00 PM, kamal hamzat wrote: Hello, Is there any zope product that allows visitors to Add Comments to the news / articles, just like the one in plone. Thanks ___ Zope maillist - Zope@zope.

[Zope] RSS to HTML in Zope

2007-06-18 Thread Tom Von Lahndorff
Hi, Im still struggling to get an RSS feed converted to HTML in Zope using Universal Feed Parser http://www.feedparser.org/ + This feedpaser setup http://www.zope.org/Members/johntynan/feedparser I'm able to get an RSS feed converted to what looks like a dictionary and view it, however it sh

Re: [Zope] Dictionary Key Error from Parsed RSS

2007-06-15 Thread Tom Von Lahndorff
d_parsed': None, 'links': [{'href': u'http://www.modscape.com/ blog/index_html?showall=yes#id1157412223', 'type': 'text/html', 'rel': 'alternate'}], 'title': u'Ubuntu: Linux For Human Beings', 'su

Re: [Zope] Dictionary Key Error from Parsed RSS

2007-06-15 Thread Tom Von Lahndorff
ype(p) == types.ListType: l = p # for clarity for ss,v in zip(xrange(len(l)), l): l[ss] = dictify(v) return l else: return p return newdict On Jun 15, 2007, at 11:49 AM, Andreas Jung wrote: --On 15. Juni 2007 11:45:49 -0400 Tom Von Lahndorff

Re: [Zope] Dictionary Key Error from Parsed RSS

2007-06-15 Thread Tom Von Lahndorff
ne 1, in Unauthorized: You are not allowed to access 'feed' in this context On Jun 15, 2007, at 10:21 AM, Jonathan wrote: ----- Original Message - From: "Tom Von Lahndorff" <[EMAIL PROTECTED]> To: Sent: Friday, June 15, 2007 10:18 AM Subject: [Zope] Diction

[Zope] Dictionary Key Error from Parsed RSS

2007-06-15 Thread Tom Von Lahndorff
Hi everyone, I've used Universal Feed Parser to parse an RSS feed. Then used these instructions below to get the parsed data into Zope via an External Method. Everything seems to work fine except that I keep getting an error whenever I try to access a key from the returned data. The resulti

Re: [Zope] Automatic Cataloging

2007-06-10 Thread Tom Von Lahndorff
On Jun 10, 2007, at 2:49 AM, Andreas Jung wrote: --On 9. Juni 2007 14:09:15 -0400 Tom Von Lahndorff <[EMAIL PROTECTED]> wrote: Hi, I have a zCatalog installed and I'm trying to automatically catalog an object and it's properties using: What a dirty code :-)

[Zope] Automatic Cataloging

2007-06-09 Thread Tom Von Lahndorff
Hi, I have a zCatalog installed and I'm trying to automatically catalog an object and it's properties using: The zCatalog has indexes and metadata: business_name business_company business_street business_town business_county business_state business_zipcode business_phone business_website

Re: [Zope] adding objects to a ZCatalog

2007-02-23 Thread Tom Von Lahndorff
Peter Bengtsson wrote: On 2/23/07, Tom Von Lahndorff <[EMAIL PROTECTED]> wrote: Hi, I have a folder called "images" and a form that to add images to that folder. The form called an external method (../images/addImage) that references a python script, the one I sent earlier

Re: [Zope] adding objects to a ZCatalog

2007-02-23 Thread Tom Von Lahndorff
Peter Bengtsson wrote: On 2/23/07, Tom Von Lahndorff <[EMAIL PROTECTED]> wrote: Hi, I have a folder called "images" and a form that to add images to that folder. The form called an external method (../images/addImage) that references a python script, the one I sent earlier

[Zope] adding objects to a ZCatalog

2007-02-23 Thread Tom Von Lahndorff
Hi, I have a folder called "images" and a form that to add images to that folder. The form called an external method (../images/addImage) that references a python script, the one I sent earlier, that creates 4 versions of the images in 4 sizes and places them in the "images" folder. Also in t

Re: [Zope] Resizing an Image with PIL via a Form Upload

2007-02-22 Thread Tom Von Lahndorff
age_image2.manage_addProperty('imagefile2', '', 'string') newimage_image3=getattr(self, newimage_id3) newimage_image3.manage_addProperty('imagefile3', '', 'string') newimage_image4=getattr(self, newimage_id4) newimage_image4.

[Zope] Resizing an Image with PIL via a Form Upload

2007-02-22 Thread Tom Von Lahndorff
I'm trying to resize an image uploaded from a form using PIL. I got it to work on an existing image but I can't seem to get it to work on an image that's uploaded through the form. The ID of the file I'm trying to upload is "DSCF0004.jpg". The form, script and traceback are listed below. Than

Re: [Zope] LocalFS1.7rc1 with Zope 2.10.1

2006-12-28 Thread Tom Von Lahndorff
Thanks! worked. Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 28. Dezember 2006 12:50:39 -0500 Tom Von Lahndorff <[EMAIL PROTECTED]> wrote: Im unable to install LocalFS 1.7rc1 into a Zope 2.10.1 instance. I place the folder in the Products directory bu

[Zope] LocalFS1.7rc1 with Zope 2.10.1

2006-12-28 Thread Tom Von Lahndorff
Im unable to install LocalFS 1.7rc1 into a Zope 2.10.1 instance. I place the folder in the Products directory but upon restart nothing shows up in Zope. Any ideas as to what may be causing the problem or any suggestions for an alternative product for accessing filesystem files in Zope? IM not

[Zope] Zope on Mac OS X Server

2006-11-17 Thread Tom Von Lahndorff
Hi I'm having trouble setting redirecting port 80 to port 8080 on Mac OS X Server 10.4. I installed Zope via the Plone installer and have a an Instance running in the Applications folder. I can access the ZMI on port 8080 via the machines IP address, but I can't seem to get the Apache rewrite r