EduploneWebdidactics CustomizationPolicy.py,1.5,1.6

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

Modified Files:
	CustomizationPolicy.py 
Log Message:
atct as default


Index: CustomizationPolicy.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/CustomizationPolicy.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CustomizationPolicy.py	1 Nov 2004 12:18:05 -0000	1.5
--- CustomizationPolicy.py	1 Nov 2004 12:23:17 -0000	1.6
***************
*** 35,48 ****
              portal.portal_quickinstaller.installProduct(p)
  
!     def customize_2_add_metadata_definiton(self, portal):
          # populate portalmetadata with combined dc/webdidactic metadataset
          portal.portal_metadata.collection.importSet( \
              path.join(module_path,'data/dublincore_webdidactics.xml')
          )
!         portal.portal_metadata.collection.dc_wd.title = 'Dublin Core and Webdidactic DML Metadata'
          # and set this set as default
          portal.portal_metadata.ct_mapping.setDefaultChain('dcwd')
  
!     def customize_3_add_relation_tab(self, portal):
          pass
  
--- 35,52 ----
              portal.portal_quickinstaller.installProduct(p)
  
!     def customize_2_ATContentTypesAsDefault(self, portal):
!         get_transaction().commit(1)
!         portal.switchCMF2ATCT()
! 
!     def customize_3_add_metadata_definiton(self, portal):
          # populate portalmetadata with combined dc/webdidactic metadataset
          portal.portal_metadata.collection.importSet( \
              path.join(module_path,'data/dublincore_webdidactics.xml')
          )
!         portal.portal_metadata.collection.dcwd.title = 'Dublin Core and Webdidactic DML Metadata'
          # and set this set as default
          portal.portal_metadata.ct_mapping.setDefaultChain('dcwd')
  
!     def customize_4_add_relation_tab(self, portal):
          pass
  



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
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.