Logo Search packages:      
Sourcecode: zope-cmfforum version File versions  Download package

def Install::install_ForumSkins (   self,
  out 
)

    Add a new skin, 'Plone', copying 'ZPT', if it exists, and then
    add our directories only to it.

Definition at line 53 of file Install.py.

00053                                  :
    """
        Add a new skin, 'Plone', copying 'ZPT', if it exists, and then
        add our directories only to it.
    """

    skinstool = getToolByName(self, 'portal_skins')

    try:
        install_SubSkin(self, out, 'zpt_forum')
        out.write('CMFForum subskin successfully installed.\n')
    except:
        out.write('CMFForum subskin failed to install.\n')

    try:  
        addDirectoryViews( skinstool, 'skins', cmfforum_globals )
        out.write( "Added CMFForum directory views to portal_skins.\n" )
    except:
        out.write( 'Unable to add CMFForum directory view to portal_skins.\n')


Generated by  Doxygen 1.6.0   Back to index