Personal tools
You are here: Home Documentation FAQs Install dependencies
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Install dependencies

Up to Table of Contents

This FAQ applies to: Any version.

My Product requires other products to be installed.

This samplecode installs the products CMFMember and TeamSpace:

DEPENDENCIES = ['CMFMember', 'TeamSpace']

def installDependencies(self, out):
""" Install required products """
portal = getToolByName(self,'portal_url').getPortalObject()
 qi = getToolByName(portal, 'portal_quickinstaller')
for product in DEPENDENCIES:
if not qi.isProductInstalled(product):
if qi.isProductInstallable(product):
qi.installProduct(product)
else:
raise "Product %s not installable" % product
by Christian Ledermann last modified March 21, 2006 - 08:47 All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by