source: products/qPloneSkinDump/trunk/config.py @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

File size: 1.6 KB
Line 
1import re, os
2from Products.CMFCore import CMFCorePermissions
3
4## Base Product Constants
5GLOBALS = globals()
6PROJECTNAME = "qPloneSkinDump"
7ADD_CONTENT_PERMISSION = CMFCorePermissions.AddPortalContent
8CONFIGURATION_CONFIGLET = "qploneskindump_configuration"
9
10
11## Constants for Scin Product generation
12TEMPLATE_PATH = "skin_template"
13
14
15## Constants for slots castomization
16SLOT_FORMING_LIST = ["blend_with_skin", "blend_with_site", "replace"]
17DEFAULT_SLOT_FORMING = "blend_with_skin"
18MAIN_COLUMN_LIST = ["left", "right", "both"]
19DEFAULT_MAIN_COLUMN = "both"
20
21
22## Constants for Exporting objects
23IMPORTING_POLICY_LIST = ["only_new","backup","overwrite"]
24DEFAULT_IMPORTING_POLICY = "only_new"
25FORBIDDEN_EXP_PREFIXES = re.compile('^(portal_)')
26FORBIDDEN_EXP_NAMES = ["MailHost", "HTTPCache", "Members", "RAMCache", "acl_users",\
27                       "archetype_tool", "caching_policy_manager", "content_type_registry", \
28                       "cookie_authentication", "error_log", "kupu_library_tool",\
29                       "mimetypes_registry", "plone_utils", "reference_catalog",\
30                       "translation_service", "uid_catalog"]
31
32
33## Resource registries proprties
34CSS_REG_PROPS = ['id', 'expression', 'enabled', 'cookable', 'cacheable' \
35                ,'media', 'rel', 'title', 'rendering', 'compression']
36JS_REG_PROPS = ['id', 'expression', 'enabled', 'cookable', 'cacheable' \
37               ,'inline', 'compression']
38
39
40from Globals import package_home
41PRODUCTS_PATH = os.sep.join(package_home(GLOBALS).split(os.sep)[:-1])
42
43import Products
44from OFS.Application import get_products
Note: See TracBrowser for help on using the repository browser.