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

def Install::install_discussions (   self  ) 

Replace default DiscussionTool from CMF by a CMFForum-based one 

Definition at line 100 of file Install.py.

00100                              :
    """ Replace default DiscussionTool from CMF by a CMFForum-based one """

    out = StringIO()
    out.write( 'CMFForum installation tool v' + str(__version__) + '.\n')

    install_SubSkin(self, out, 'zpt_forum/discussion')

    out.write( '* Replacing Default CMF DiscussionTool by CMFForums one.')
    self.manage_delObjects( 'portal_discussion' )
    addPloneTool=self.manage_addProduct['CMFForum'].manage_addTool
    addPloneTool('CMFForum Discussion Tool', None)
    out.write( 'Done.')

    return out.getvalue()
    return out.getvalue()


Generated by  Doxygen 1.6.0   Back to index