Hi everybody! I am a beginner with products. I am trying to integrate the Boring sample product into Zope. There are 5 source (.py and .dtml) files. Could anybody explain me how to integrate it into Zope?? Also, where could I find out about troubleshooting for importing products? When I try to import a .ZEXP file I constantly get this "The object MyProduct does not support this operation" Hope to hear from you.... Lena
Lena, Before I answer your questions, can I ask you a favour? Please don't send HTML formatted mail to the list. Some people on the list use mailers that don't take too well to it. Thanks in advance. Now on to your questions. The boring product is an example that you can use to build upon. That said it should be a fully operational (but boring ;)) product. You need to put the files you talk about into a directory under your zope directory: <zopedir>/lib/python/Products/Boring. Create this and then put the files in there Then you'll have to restart Zope to get it to recognize them. Onto zexp's. There are notionally two types of zexp files: 1. Exported ZClass Products 2. Exported normal parts of a Zope site. If the zexp's are type 1 then they can only be imported into the /Control_Panel/Products folder. type 2 can be imported almost anywhere. The message you are getting is indicative of a type 1 being imported outside of the Control_Panel. HTH Phil phil.harris@zope.co.uk ----- Original Message ----- From: IDEA WS To: zope@zope.org Sent: 13 May 2000 14:41 Subject: [Zope] Product integration - please help! Hi everybody! I am a beginner with products. I am trying to integrate the Boring sample product into Zope. There are 5 source (.py and .dtml) files. Could anybody explain me how to integrate it into Zope?? Also, where could I find out about troubleshooting for importing products? When I try to import a .ZEXP file I constantly get this "The object MyProduct does not support this operation" Hope to hear from you.... Lena
Hi Lena, I just downloaded and installed the Boring Product, and it seems to work OK. I think that the problem is that the documentation is not as explicit as for some other products, and the distribution is organized slightly differently. Most of the products I have tried so far expect you to install into your Zope root - the files in the archive contain the path information. The place they need to go is: <Zope root>/lib/python/Products/<Product Name> The Boring Product does not contain the path information in the distribution, so in this case you have to create: <Zope root>/lib/python/Products/Boring/ install the files there, then re-start Zope. You should then find the Boring product available to insert into a Zope folder in the usual way. I don't know where you got the .zexp file from - there was nothing like that in the Boring product I got today (some products do include these). It might be worth looking at some of the other products. I am finding that getting started with Zope is not easy, due only to limited amount of documentation aimed at beginners (some does exist, but you have to search for it). It gets easier once you get started, and the effort is definitely worthwhile - this is a most excellent way of handling web content. HTH, Richard -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of IDEA WS Sent: 13 May 2000 14:41 To: zope@zope.org Subject: [Zope] Product integration - please help! Hi everybody! I am a beginner with products. I am trying to integrate the Boring sample product into Zope. There are 5 source (.py and .dtml) files. Could anybody explain me how to integrate it into Zope?? Also, where could I find out about troubleshooting for importing products? When I try to import a .ZEXP file I constantly get this "The object MyProduct does not support this operation" Hope to hear from you.... Lena
IDEA WS writes:
Hi everybody!
I am a beginner with products. I am trying to integrate the Boring sample product into Zope. There are 5 source (.py and .dtml) files. Could anybody explain me how to integrate it into Zope??
They all go in a folder which either is created by un-taring it from your Zope directory: prompt$> tar -zxvf Boring.tar.gz or just create a Folder called 'Boring' in the 'Products' folder (which is in ../MyZopedirectory/lib/python/) and put everything in there.
Also, where could I find out about troubleshooting for importing products? When I try to import a .ZEXP file I constantly get this "The object MyProduct does not support this operation"
Not sure about this one. All my best, Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (4)
-
IDEA WS -
Jason Spisak -
Phil Harris -
Richard Folwell