Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/p/r/Products.CMFContentPanels-2.6b2/Products/CMFContentPanels/Extensions/Install.py   Products.CMFContentPanels(Download)
from Products.CMFCore.utils import getToolByName
from Products.Archetypes.public import listTypes
from Products.Archetypes.Extensions.utils import installTypes, install_subskin
from Products.CMFContentPanels.config import PROJECTNAME, GLOBALS, NEW_VIEW_METHODS
from Products.CMFContentPanels.config import PLONE_VERSION
        factory_tool.manage_setPortalFactoryTypes(listOfTypeIds=factory_types)
 
        installTypes(self, out, listTypes(PROJECTNAME), PROJECTNAME)
        install_subskin(self, out, GLOBALS)
 

src/p/r/Products.CMFContentPanels-HEAD/Products/CMFContentPanels/Extensions/Install.py   Products.CMFContentPanels(Download)
from Products.CMFCore.utils import getToolByName
from Products.Archetypes.public import listTypes
from Products.Archetypes.Extensions.utils import installTypes, install_subskin
from Products.CMFContentPanels.config import PROJECTNAME, GLOBALS, NEW_VIEW_METHODS
from Products.CMFContentPanels.config import PLONE_VERSION
        factory_tool.manage_setPortalFactoryTypes(listOfTypeIds=factory_types)
 
        installTypes(self, out, listTypes(PROJECTNAME), PROJECTNAME)
        install_subskin(self, out, GLOBALS)
 

src/p/r/Products.CMFContentPanels-2.6b2/Products/CMFContentPanels/ContentPanels.py   Products.CMFContentPanels(Download)
from Products.CMFContentPanels import MessageFactory as _
from Products.CMFContentPanels.config import PLONE_VERSION
from Products.CMFContentPanels.config import VOC_PAGE_LAYOUT, PROJECTNAME
from Products.CMFContentPanels.interfaces import IContentPanels
 
        return self.restrictedTraverse('contentpanels_body').render()
 
registerType(ContentPanels, PROJECTNAME)
 

src/p/r/Products.CMFContentPanels-HEAD/Products/CMFContentPanels/ContentPanels.py   Products.CMFContentPanels(Download)
from Products.CMFContentPanels import MessageFactory as _
from Products.CMFContentPanels.config import PLONE_VERSION
from Products.CMFContentPanels.config import VOC_PAGE_LAYOUT, PROJECTNAME
from Products.CMFContentPanels.interfaces import IContentPanels
 
        return self.restrictedTraverse('contentpanels_body').render()
 
registerType(ContentPanels, PROJECTNAME)