[Zope] Can't Install Plone!

2006-09-30 Thread Javier Subervi
Hi;I'm working with Plone 2.1.2/Zope 2.7.8. I've had no trouble adding Plone sites before this. I was in my server working with some of the products I'd installed, all of which had been installed for some time. I went to install a new Plone for test purposes. I got this error:Traceback (innermost

[Zope] CatalogPatch PloneSecurityInjector

2006-10-02 Thread Javier Subervi
Hi;I asked this of the Plone d'list, but no one responded, so I assume no one had the answer...so I've come here ;) I came across PloneSecurityInjector in the collective and thought it was a neat idea. So I installed it, along with its dependencies, one of which is CatalogPatch. However, that

Re: [Zope] CatalogPatch PloneSecurityInjector

2006-10-02 Thread Javier Subervi
No, it only shows up when I add the CatalogPatch. The versions I use are compatible.Javier2Jens Vagelpohl [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: SHA1On 2 Oct 2006, at 13:08, Javier Subervi wrote: Module Products.CMFCore.CatalogTool, line 353, in reindexObject TypeError

[Zope] Help! Zope Crashed! Production Server!

2006-10-04 Thread Javier Subervi
Hi;I'll afford a server to experiment on before year's end, but that doesn't help me today. I was trying to get Python 2.3.5 to work with LDAP on FreeBSD. I built py-ldap2 from ports and directed it to install Python 2.3.5 (because I'm using Zope 2.7.8 because my software won't migrate yet). It

[Zope] LDAPUserFolder Password Retrieving

2006-10-07 Thread Javier Subervi
Hi;I'm working on installing LDAPUserFolder. The documentation states one can't retrieve passwords because they're encrypted. Bummer. Well, in that case, is there a product for sending an email with a link to establish a new password? I mean, what do we do if the user forgot their pw?TIA,Javier3

[Zope] Tracebacks...Need Help

2006-10-22 Thread Javier Subervi
Hi;I have a number of tracebacks from products I'm trying to install in Zope/Plone. I'm on Zope 2.7.8/Plone 2.1.2. Thanks in advance for any help you can offer to get me started towards solutions to these problems.TIA,Javier--2006-10-21T20:36:30 ERROR(200) Zope Could not import

[Zope] Re: [Plone-Users] Editing Tabs Pull-downs...Second Reques

2006-11-03 Thread Javier Subervi
]To: Javier Subervi [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Sent: Friday, November 3, 2006 8:30:57 AMSubject: Re: [Plone-Users] Editing Tabs Pull-downs...Second RequesYou could try going into the ZMI and using the 'security' tab on the product to restrict who can view and edit the type.On 11/3/06, Javier

[Zope] Re: [Plone-Users] Editing Tabs Pull-downs...Second Reque

2006-11-03 Thread Javier Subervi
: [Plone-Users] Editing Tabs Pull-downs...Second RequeOn 11/3/06, michael nt milne [EMAIL PROTECTED] wrote: Ultimately the permissions and security should be built into the product and not applied to the object in Zope. However it's not too hard as a last resort. On 11/3/06, Javier Subervi [EMAIL

[Zope] Why doesnt' this work?

2006-12-08 Thread Javier Subervi
Hello; I have this code that works fine in a Page Template: html body table width=100% align=center class=text border=3 cellspacing=5 bgcolor=#E694FE bordercolor=#D24BFA bordercolorlight=#DD77FB bordercolordark=#C512FAtrtd span metal:use-macro=here/en-us/Quotes/10/macros/quote/spanbr / div

[Zope] Re: Why doesn't this work?

2006-12-08 Thread Javier Subervi
2 From: Andreas Jung [EMAIL PROTECTED] - --On 8. Dezember 2006 10:38:25 -0800 Javier Subervi [EMAIL PROTECTED] wrote: html But when I try to make it work in an External Method like this: stuff = 'html\n' stuff = stuff + 'body\n' stuff = stuff + 'table width=100% align=center

[Zope] Re: Why doesn't this work?

2006-12-08 Thread Javier Subervi
From: Andreas Jung [EMAIL PROTECTED] You want to generate HTML as a result? You want to use to write ZPT! You want to call external functionalities? You create an external method and call it *from* your ZPT. That's the way to go. okey dokey. Thanks, Javier

[Zope] Re: Preserving Context

2006-12-12 Thread Javier Subervi
From: Suresh V [EMAIL PROTECTED] 1. Are you using container rather than context in your script? 2. You can pass your context as a mycontext parameter to your script. I have this line of code in my page template for handling the 404 errors: div align=center tal:condition=here/hasSearchEngine I

[Zope] Re: Preserving Context

2006-12-12 Thread Javier Subervi
752 From: Jonathan [EMAIL PROTECTED] In your root folder you could have a script that accesses the ZCatalog which can be called from any subfolder and can tell where it was called from... try the following: create a python script (tst) in your root folder that contains the following

[Zope] Re: Preserving Context

2006-12-12 Thread Javier Subervi
From: Jonathan [EMAIL PROTECTED] What version of zope are you running? (I am running zope 2.9.2 on a linux box). 2.7.8 I didn't put it in 'root' since root isn't automatically called. I put it in a folder called 's' which is automatically called, then I also explicitly called it in the URL.

[Zope] Re: Preserving Context

2006-12-12 Thread Javier Subervi
From: Jonathan [EMAIL PROTECTED] The script routine doesn't have to be located in root. traverse_subpath is populated using the names of all subfolders that occur after the script file name in the URL. So if your URL is: http:/my.web.site/folderA/scriptA/folderB/folderC, then scriptA will

[Zope] Re: Preserving Context

2006-12-13 Thread Javier Subervi
From: Jonathan [EMAIL PROTECTED] targetFolder = string.join(traverse_subpath, '/') #you will have to play with this to get the right target folder for your app aFolder = context.restrictedTraverse(targetFolder) searchRes = aFolder.Catalog(some search string here) do something with search

Re: [Zope] Re: Preserving Context

2006-12-13 Thread Javier Subervi
- Original Message From: Maciej Wisniowski [EMAIL PROTECTED] So this is not because of this code. Your script ALWAYS returns '0' and does nothing more. Just try to remove everything after 'return 0' and see if it changes anything or remove 'return 0' and see what happens then. Crap.