Eduplone11 CustomizationPolicy.py,1.1.1.1,1.2 config.py,1.1.1.1,1.2

Jens Klein <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/Eduplone11
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32371

Modified Files:
	CustomizationPolicy.py config.py 
Log Message:
integrated TeamSpace and some UI cleanups


Index: config.py
===================================================================
RCS file: /cvsroot/eduplone/Eduplone11/config.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** config.py	17 Sep 2004 22:14:27 -0000	1.1.1.1
--- config.py	18 Sep 2004 14:18:50 -0000	1.2
***************
*** 7,12 ****
      'Archetypes',
      'ATContentTypes',
! #    'EduploneTypes',
! #    'EduploneLearningSequence',
  ]
  
--- 7,13 ----
      'Archetypes',
      'ATContentTypes',
!     'EduploneTypes',
!     'EduploneLearningSequence',
!     #'TeamSpace',    
  ]
  

Index: CustomizationPolicy.py
===================================================================
RCS file: /cvsroot/eduplone/Eduplone11/CustomizationPolicy.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** CustomizationPolicy.py	17 Sep 2004 22:14:27 -0000	1.1.1.1
--- CustomizationPolicy.py	18 Sep 2004 14:18:50 -0000	1.2
***************
*** 34,63 ****
      # append here your customize methods
  
! #    def customize_2_ATContentTypesAsDefault(self, portal):
! #        get_transaction().commit(1)
! #        portal.switchCMF2ATCT()
! #        
! #    def customize_3_set_types_explicit(self, portal):
! #        explicit_types = [
! #            'eduplone ATDocument',
! #            'eduplone ATFile',
! #            'eduplone ATImage',
! #            'eduplone ATFolder',  
! #            'eduplone CanvasQTI',          
! #            'eduplone QTIAuthor',          
! #            'Folder GoZip',          
! #            'ATRefBrowserDemo',          
! #        ]
! #        for e in explicit_types:
! #            portal.portal_types[e].global_allow=0
! #            
! #    def customize_4_unset_openflow_in_personal_bar(self, portal):
! #        pms = portal.portal_membership
! #        if 'worklist' in [action.id for action in pms.listActions()]:
! #            print "removing 'worklist' from personal bar"
! #            listA = pms.listActions()
! #            selections = tuple([i for i in range(0,len(listA)) if listA[i].id=='worklist'])
! #            pms.deleteActions(selections)
! #            
      #def customize_5_fix_permissions(self, portal):
      #    portal.manage_permission('Delete objects', ['owner',],1)        
--- 34,63 ----
      # append here your customize methods
  
!     def customize_2_ATContentTypesAsDefault(self, portal):
!         get_transaction().commit(1)
!         portal.switchCMF2ATCT()
!         
!     def customize_3_set_types_explicit(self, portal):
!         explicit_types = [
!             'eduplone ATDocument',
!             'eduplone ATFile',
!             'eduplone ATImage',
!             'eduplone ATFolder',  
!             'eduplone CanvasQTI',          
!             'eduplone QTIAuthor',          
!             'Folder GoZip',          
!             'ATRefBrowserDemo',          
!         ]
!         for e in explicit_types:
!             portal.portal_types[e].global_allow=0
!             
!     def customize_4_unset_openflow_in_personal_bar(self, portal):
!         pms = portal.portal_membership
!         if 'worklist' in [action.id for action in pms.listActions()]:
!             print "removing 'worklist' from personal bar"
!             listA = pms.listActions()
!             selections = tuple([i for i in range(0,len(listA)) if listA[i].id=='worklist'])
!             pms.deleteActions(selections)
!             
      #def customize_5_fix_permissions(self, portal):
      #    portal.manage_permission('Delete objects', ['owner',],1)        



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.