#9 — Make it Plone 3.0 compatible

by Pander last modified Jan 08, 2009 06:05 PM
State Unconfirmed
Version: 0.3
Area Functionality
Issue type Bug
Severity Low
Submitted by Pander
Submitted on Oct 12, 2007
Responsible
Target release:
Could you please release a 3.0 alpha or beta version?
Added by Norbert M Haigermoser on Oct 13, 2007 11:07 AM
I´m really really sorry, but at the moment i do not have the time & capacity to do any further developing :-(
I will continue as soon as possible...
Added by Pander on Jul 17, 2008 10:57 PM
To make it Plone 3.1 compatible do this:

SmoothGallery.py
#3.1from Products.CMFCore.CMFCorePermissions import View, ManageProperties
try: # New CMF
   from Products.CMFCore.permissions import View, ManageProperties
except ImportError: # Old CMF
   from Products.CMFCore.CMFCorePermissions import View, ManageProperties

config.py
#3.1from Products.CMFCore.CMFCorePermissions import AddPortalContent
try: # New CMF
   from Products.CMFCore.permissions import AddPortalContent
except ImportError: # Old CMF
   from Products.CMFCore.CMFCorePermissions import AddPortalContent


Extensions/Install.py
#3.1from Products.CMFDynamicViewFTI.migrate import migrateFTIs
and
#3.1 migrated = migrateFTIs(self, product=PROJECTNAME)
#3.1 print >>out, "Switched to DynamicViewFTI: %s" % ', '.join(migrated)

Please implement this in a new and tested release.

No responses can be added.