Back to index

plone3  3.1.7
Namespaces | Functions | Variables
kupu.plone Namespace Reference

Namespaces

namespace  config
namespace  exportimport
namespace  helpers
namespace  html2captioned
namespace  interfaces
namespace  kupu2html
namespace  librarytool
namespace  permissions
namespace  plonedrawers
namespace  plonelibrarytool
namespace  ReftextField
namespace  scanner
namespace  tests
namespace  util
namespace  z3interfaces

Functions

def initialize

Variables

 profile_registry = None

Function Documentation

def kupu.plone.initialize (   context)

Definition at line 35 of file __init__.py.

00035 
00036 def initialize(context):
00037     try:
00038         init = utils.ToolInit("kupu Library Tool",
00039                        tools=(PloneKupuLibraryTool,),
00040                        icon="kupu_icon.gif",
00041                        )
00042     except TypeError:
00043         # Try backward compatible form of the initialisation call
00044         init = utils.ToolInit("kupu Library Tool",
00045                        tools=(PloneKupuLibraryTool,),
00046                        product_name='kupu',
00047                        icon="kupu_icon.gif",
00048                        )
00049     init.initialize(context)
00050 
00051     if profile_registry is not None:
00052         profile_registry.registerProfile('default',
00053                                      'Kupu',
00054                                      'Extension profile for Kupu',
00055                                      'plone/profiles/default',
00056                                      'kupu',
00057                                      EXTENSION,
00058                                      for_=IPloneSiteRoot)
00059 

Variable Documentation

Definition at line 29 of file __init__.py.