Re: [Zope] listing files in a LocalFS folder
What do you mean, does not work? Are the links generated by the zpt but the links are dead or do the links never get generated? On 10/26/06, Alan [EMAIL PROTECTED] wrote: Hi List! I am doing that: ul li tal:repeat=item context/objectValues a href=ABSOLUTE_URL tal:attributes=href item/absolute_url tal:content=item/title_or_idSUB-OBJECT TITLE OR ID/a/li /ul And it works to list the content of my main folder. Within my main folder, there's a LocalFS folder (let's call LFSfolder). When using the code above and I can even click in LFSfolder and access its content. However, what I want is: li tal:repeat=item context/LFSfolder/objectValues ^^ and link the content inside LFSfolder. But it does not work. Does anyone know a way of doing what I want? Many thinks in advance. Cheers, Alan -- Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. http://www.bio.cam.ac.uk/~awd28 ___ 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 ) -- Regards, Bryan Simmons All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925 fimus venio ___ 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 )
[Zope] freezope dot org in trouble?
I have noticed a serious lack of free zope hosting sites. I mean, there's a lot of sites out there that will give anyone a free web page, but none that I can find that will give a free zope folder or plone instance or something like that. Freezope appears to be one such site but it doesn't work. Their register.freezope.org site is down and they appear to be out of disk space on the main zope instance at freezope.org. Anyone know any scuttlebutt on this site? It would be a shame if there were truly no free zope hosting sites around... -- Regards, Bryan Simmons All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925 ___ 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] single sign-on
1. What do you mean by doesn't work? 2. Is there any log output either from your apache error_log/access_log or zope event.log? On 1/29/07, John Fugazi [EMAIL PROTECTED] wrote: I have installed Plone with openSUSE 10.2 (working). I have also installed LDAPUserFolder and LDAPMultiPlugins (working). The default installation of Plone is located in /var/opt/zope/default. I have loaded mod_proxy, mod_proxy_http, mod_rewrite and mod_headers. I have also compiled and load mod_ntlml. I tested mod_ntlm on just an ordinary directory that contained an index.html and it worked fine. Mod_ntlm asked for username and password, which authenticated. I set internet explorer to automatic logon with current username and password and i was able to get to the web page without typing a username and password. This is my conf, but this does not work. VirtualHost 192.168.200.20:80 ServerName openSUSE ServerSignature On RewriteEngine On Location /var/opt/zope/default AuthName Active Directory Domain AuthType NTLM NTLMAuth on NTLMAuthoritative on NTLMDomain domain NTLMServer ads require valid-user RequestHeader set REMOTE_USER %{REMOTE_USER}e / Location RewriteRule ^/(.*) \ http://localhost:8080/VirtualHostBase/http/%{HTTP_HOST}:80/VirtualHostRoot/hechtburdeshaw/$1 \ [L,P,E= REMOTE_USER:%{LA-U:REMOTE_USER}] /VirtualHost Any suggestions _ From predictions to trailers, check out the MSN Entertainment Guide to the Academy Awards(r) http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline1 ___ 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 ) -- Regards, Bryan Simmons All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925 ___ 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] Re: Zope + Oracle + Cron
I always add my LD_LIBRARY_PATH variable to the zopectl and runzope scripts so that this kind of thing never happens. I have also found that I needed to add ORACLE_HOME to either the zope.conf or zope start scripts when using DCOracle or some other add-on that uses loadable libs. In fact, you should put all important env vars in zope.conf under the environment variables section. This is the cleanest way to ensure zope can see everything it needs to. On 6/9/06, Tres Seaver [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David VanKirk wrote: We have zope installation that uses an Oracle backend to store data on. We also have the system setup to do a backup of the database and Zope Installation everyday. Everything runs smoothly until it comes time to start Zope back up. For some reason whenever the script tries to start Zope back up, it comes up but with a broken ZOracleDA product. It complains about not being able to find the library file called libclntsh.so.9.0. If I try to start Zope myself from command line right after the script is done running (actually stop it then start it again) it works and connects to Oracle fine. I've tried using nice to up the priority level but it doesn't seem to work. I also thought that maybe I wasn't giving oracle enough time to start up so I've tried adding sleep commands to the script, again, with no luck. If anyone has any experience in this field or has any suggestions, please let me know. This is a quite annoying situation, as this server is quite important to the company and downtime is a bad thing. Most likely 'libclntsh.so' is on an LD_LIBRARY_PATH for your user, which the cron user does not have. Why are you stopping Zope, BTW? The standard backup script for the ZODB filestorage is 'repozo.py', which does not need to have exclusive access in order to create a backup. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEidhW+gerLs4ltQ4RAhTsAKCLIlvVdjPhOJ2axPmMl9T2Ao54aACgwi2z 5baWO7v3IILAmDo/bmp55gQ= =YDdz -END PGP SIGNATURE- ___ 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 ) -- Regards, Bryan Simmons All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925 ___ 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 )
[Zope-dev] Where are all the good docs?
I've recently persuaded my company and our clients that Zope is THE way to go for Portal software. Now I find myself having to hack away at sources more and more to meed their needs. With that in mind, how can I find out something like what functions can be called from the context object? I've noticed context.absolute_url() and a few others but I find myself sorely lacking the ability to look up member methods for Zope objects. Where do I go for info? -- Regards, Bryan Simmons -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- What is this sleep of which you speak? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Where are all the good docs?
That product sure does open up a wealth of information but it really does me no good with understanding what context is and what functions apply to it On Fri, 16 Jul 2004 17:45:28 -0400, Paul Winkler [EMAIL PROTECTED] wrote: On Fri, Jul 16, 2004 at 05:44:46PM -0400, Paul Winkler wrote: On Fri, Jul 16, 2004 at 02:53:20PM -0400, Bryan Simmons wrote: I've recently persuaded my company and our clients that Zope is THE way to go for Portal software. Now I find myself having to hack away at sources more and more to meed their needs. With that in mind, how can I find out something like what functions can be called from the context object? I've noticed context.absolute_url() and a few others but I find myself sorely lacking the ability to look up member methods for Zope objects. Where do I go for info? Install DocFinder, it's great. err, i meant to say DocFinderEverywhere. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) -- Regards, Bryan Simmons -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- What is this sleep of which you speak? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Where are all the good docs?
This page is EXACTLY what I was looking for: http://www.plope.com/Books/2_7Edition/ScriptingZope.stx#2-5 Thanks!! On Sat, 17 Jul 2004 00:24:11 -0400, Paul Winkler [EMAIL PROTECTED] wrote: On Fri, Jul 16, 2004 at 07:37:01PM -0400, Bryan Simmons wrote: That product sure does open up a wealth of information but it really does me no good with understanding what context is and what functions apply to it context is a generic name for the current, er, context. e.g. if i visit http://www.some-zope-site.org/foo/bar/baz, you could say i am calling baz in the context of bar. so what methods bar has depends on what kind of object bar is. That's where docfinder comes in... you visit bar in the ZMI and see what it says. you should also read the zope book... currently in progress version here: http://www.plope.com/Books/2_7Edition -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) -- Regards, Bryan Simmons -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- What is this sleep of which you speak? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] PCNG hook into Calendar
I was wondering if anyone would have suggestions on the best way to have another Product create an event, an ATEvent that is, in a portal. I'm looking for an interface to the ATEvent object. I plan to modify PCNG 1.2.4 such that issues can be created as tasks that have a time-span. I'm going to use it as a scheduler for tasking my company's web hosting department. Basically, when a new issue is created, I will have it create an ATEvent if the user specifies that this issue should be a time-based task. I may end up creating a whole new Product to have this work as I would also like to have a click on an ATEvent take the browser to the PCNG issue tied to that event. Any ideas? Some times this editing of Products can be a mess and I'm just asking for any advice on how to keep it simple. -- Regards, Bryan Simmons -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Rick Osborne -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )