Re: [Zope] DiskBased Product question

2005-06-07 Thread J Cameron Cooper

Haim Ashkenazi wrote:

I'm looking for documentation or simple examples on how to create a disk
based product that when I install it, it also adds some third party
products.

for example, If I select my product from the "Add" list, it'll create a
folder, insert my code into it, but also insert mailhost, database
connector, exuserfolder etc...

is it even possible?


In your install script you can call 'installProduct("productname")' on 
the quickinstaller tool itself. Many products do this. Many more should. 
(Everything that uses Archetypes, for instance, should probably try to 
install AT.)


CMFMember does try to install AT:
http://svn.plone.org/view/collective/CMFMember/trunk/Extensions/Install.py?rev=8422&view=markup

ATContentTypes does some complex checking and installing:
http://svn.plone.org/view/collective/ATContentTypes/trunk/Extensions/Install.py?rev=7860&view=markup

--jcc
--
"Building Websites with Plone"
http://plonebook.packtpub.com
___
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] DiskBased Product question

2005-06-07 Thread Andreas Jung



--On 7. Juni 2005 19:35:23 +0300 Haim Ashkenazi <[EMAIL PROTECTED]> wrote:


Hi

I'm looking for documentation or simple examples on how to create a disk
based product that when I install it, it also adds some third party
products.



The Zope Developers Guide from zope.org? There are also some example 
products

floating around on zope.org. It's best to learn from existing projects
*and* the documentation.

-aj




pgpSIBuSgtvsO.pgp
Description: 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 )


[Zope] DiskBased Product question

2005-06-07 Thread Haim Ashkenazi
Hi

I'm looking for documentation or simple examples on how to create a disk
based product that when I install it, it also adds some third party
products.

for example, If I select my product from the "Add" list, it'll create a
folder, insert my code into it, but also insert mailhost, database
connector, exuserfolder etc...

is it even possible?

one if the reasons I want to create it this way, and not just instruct the
user to add these products and only then add mine, is because I want to
have a few levels of folders with "acl_users" inside them instead of
defining all the users in one folder and start playing with roles and
permissions...

thanx

-- 
Haim


___
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 )