Estoy usando un desarrollo que viene de Plone que es conocido como Cynin, el cual al instalarlo en Zope cambia gran cantidad de opciones que no vienen al caso. El punto es que, al instalarlo la aplicación de instalación importa el siguiente script que es conocido como config.py que se puede ver a continuación.
Código Python:
Ver original
""" Contains constants used by setuphandler.py """ from ubify.policy import CyninMessageFactory as _ GLOBALS = globals() PROJECTNAME = 'ubify.policy' newgroups = ('SiteAdmins', ) siteadmingroup = "SiteAdmins" siteadmin = "siteadmin" siteadminpass = "secret" testuserpass = "secret" createtestusers = False createtestspaces = False user_my_folder_name = 'My Space' spacesdefaultaddabletypes = ('Blog', 'Calendar', 'FileRepository', 'GenericContainer', 'Folder', 'Gallery', 'LinkDirectory', 'Space', 'Topic', 'Wiki', 'SmartView', ) spacesdefaultaddablenonfolderishtypes = ('Document', 'Event', 'File', 'Image', 'Link', 'Blog Entry', 'Video', 'Discussion', 'Audio', ) sitetabs = ({'id':'central', 'name':'Central', 'url_expr':'string:$portal_url/spaces/central', 'condition':'', 'permission':'', 'category':'', 'visible':True, }, {'id':'spaces', 'name':'Spaces', 'url_expr':'string:$portal_url/spaces', 'condition':'', 'permission':'', 'category':'', 'visible':True, }, {'id':'people', 'name':'People', 'url_expr':'string:$portal_url/Members', 'condition':'', 'permission':'', 'category':'', 'visible':True, }, ) mailhostconfiguration = {'configure':True, 'smtphost':'localhost', 'smtpport':25, 'fromemailname':'Site Administrator', 'fromemailaddress':'[email protected]' } PRODUCT_DEPENDENCIES = ('Calendaring', 'plone.app.iterate', 'Marshall', 'CMFPlacefulWorkflow', 'CMFNotification', 'ZipFileTransport', 'Scrawl', 'ubify.coretypes', 'ubify.smartview', 'ubify.spaces', 'ubify.viewlets', 'ubify.cyninv2theme', 'ubify.recyclebin', 'ubify.xmlrpc', 'Products.OpenXml', 'ATRatings', 'ubify.ffxmpp', 'cenditel.multimedia', ) UNINSTALL_PRODUCTS = ('PloneSlimbox', 'PloneFlashUpload', ) EXTENSION_PROFILES = ('ubify.policy:default', ) ALLOWEDROLESTOADDKEYWORDS = ('Owner', 'Editor', 'Contributor', ) kuputoolbaroptions = ('bg-subsuper', 'subscript-button', 'superscript-button', 'embed-tab', 'toc-tab', 'bg-undo', 'undo-button', 'redo-button', ) defaultlistspaceicons = ( {'id':'aaspace-icon.png','name':'A Space',}, {'id':'private2.png','name':'Private',}, {'id':'workspace1.png','name':'Workspace 1',}, {'id':'folder50.png','name':'Folder',}, {'id':'warning2.png','name':'Warning 2',}, {'id':'drive_graphite.png','name':'Drive graphite',}, {'id':'sync1.png','name':'Sync 1',}, {'id':'chat_bubble.png','name':'Chat bubble',}, {'id':'lock1.png','name':'Lock 1',}, {'id':'stop.png','name':'Stop',}, {'id':'info2.png','name':'Info 2',}, {'id':'drive_blue.png','name':'Drive blue',}, {'id':'warning1.png','name':'Warning 1',}, {'id':'drive_green.png','name':'Drive green',}, {'id':'under_construction.png','name':'Under construction',}, {'id':'space_key.png','name':'Key',}, {'id':'question2.png','name':'Question 2',}, {'id':'sync3.png','name':'Sync 3',}, {'id':'workspace2.png','name':'Workspace 2',}, {'id':'screen.png','name':'Screen',}, {'id':'tick2.png','name':'Tick 2',}, {'id':'drive_red.png','name':'Drive red',}, {'id':'buddies.png','name':'Buddies',}, {'id':'alert_bell.png','name':'Alert bell',}, {'id':'globe.png','name':'Globe',}, {'id':'lock2.png','name':'Lock 2',}, {'id':'collaboration.png','name':'Collaboration',}, {'id':'sync2.png','name':'Sync 2',}, {'id':'star.png','name':'Star',}, {'id':'Info1.png','name':'Info 1',}, {'id':'question1.png','name':'Question 1',}, {'id':'network.png','name':'Network',}, {'id':'private1.png','name':'Private 1',}, {'id':'hazard.png','name':'Hazard',}, {'id':'tick1.png','name':'Tick 1',}, {'id':'help.png','name':'Help',}, ) custommindmapshowabletypes = ('ContentRoot', 'SmartviewFolder', 'ContentSpace', ) defaulttitles = ({'id':'spaces', 'type':'SpacesFolder', 'title':'spaces', 'description':'', }, {'id':'views', 'type':'SmartviewFolder', 'title':'views', 'description':'', }, ) defaultsmartviews = ({'id':'allitems', 'title':'All Items', 'description':'All content items of this site.', 'query':{'sort_on':'modified','sort_order':'descending'} }, ) default_categories = ('company assets', 'reports', 'collateral', 'stock photos', 'templates', 'presentations', 'catalogues', 'minutes of meetings', 'plans', 'policies', 'events', 'article', ) kupu_table_styles = ("fancy|Styled Table", "invisible|Invisible grid", ) kupu_paragraph_styles = ("Heading|h2", "Subheading|h3", "Subheading 2|h4", "Subheading 3|h5", "Subheading 4|h6", "Literal|pre", "Discreet|p|discreet", "Pull-quote|div|pullquote", "Call-out|p|callout", "Block-quote|blockquote", "Highlight|span|visualHighlight", "Odd row|tr|odd", "Even row|tr|even", "Heading cell|th|", "Page break (print only)|div|pageBreak", "Clear floats|div|visualClear", "Notice - Attention|div|attention", "Notice - Yes|div|yes", "Notice - No|div|no", "Notice - Information|div|information", "Notice - Thumbs Up|div|thumbsup", "Notice - Rosette|div|rosette", "Notice - Idea|div|idea", "Notice - Smiley|div|smiley", "Notice - Note|div|note", "Notice - Warning|div|warning", )