Back to index

plone3  3.1.7
Variables
Archetypes.config Namespace Reference

Variables

string PKG_NAME = "Archetypes"
string SKIN_NAME = "archetypes"
string TOOL_NAME = "archetype_tool"
string UID_CATALOG = "uid_catalog"
 Name the tool will be installed under.
 REGISTER_DEMO_TYPES = True
 DEBUG = False
int RENAME_AFTER_CREATION_ATTEMPTS = 100
string REFERENCE_CATALOG = "reference_catalog"
 Try up to -100 at the end of the id when doing title-to-id renaming.
string UUID_ATTR = "_at_uid"
string REFERENCE_ANNOTATION = "at_references"
 ZOPE_LINES_IS_TUPLE_TYPE = True
 In zope 2.6.3+ and 2.7.0b4+ a lines field returns a tuple not a list.
string MYSQL_SQLSTORAGE_TABLE_TYPE = 'INNODB'
 MYSQL SQLStorage Table Type To use connections with ACID transactions you should define it as INNODB.
 DEBUG_SECURITY = False
 Debug security settings of Fields, Widgets and Storages?
tuple GRAPHVIZ_BINARY = transform_utils.bin_search('dot')
 If you have graphviz http://www.research.att.com/sw/tools/graphviz/ and its frontend "dot" installed on your system set this to True You need dot version > 1.10 with cmapx support.
 HAS_GRAPHVIZ = False
 comment out the following line to enable the reference graph tool
 ATTRIBUTE_SECURITY = True
 protect attributes of AttributeStorage from unallowed access?
string LANGUAGE_DEFAULT = u''
 set language default for metadata, it will be overwritten by portal-settings!
 CATALOGMAP_USES_PORTALTYPE = True
 Archetypes before 1.4 managed the catalog map using meta types instead of portal types.

Variable Documentation

protect attributes of AttributeStorage from unallowed access?

Definition at line 53 of file config.py.

Archetypes before 1.4 managed the catalog map using meta types instead of portal types.

If you need this old behaviour change this setting to False.

Definition at line 60 of file config.py.

Definition at line 10 of file config.py.

Debug security settings of Fields, Widgets and Storages?

Definition at line 34 of file config.py.

Archetypes.config.GRAPHVIZ_BINARY = transform_utils.bin_search('dot')

If you have graphviz http://www.research.att.com/sw/tools/graphviz/ and its frontend "dot" installed on your system set this to True You need dot version > 1.10 with cmapx support.

Definition at line 41 of file config.py.

comment out the following line to enable the reference graph tool

Definition at line 45 of file config.py.

set language default for metadata, it will be overwritten by portal-settings!

Definition at line 56 of file config.py.

MYSQL SQLStorage Table Type To use connections with ACID transactions you should define it as INNODB.

The MySQL default table type is MyISAM.

Definition at line 31 of file config.py.

string Archetypes.config.PKG_NAME = "Archetypes"

Definition at line 3 of file config.py.

string Archetypes.config.REFERENCE_ANNOTATION = "at_references"

Definition at line 20 of file config.py.

string Archetypes.config.REFERENCE_CATALOG = "reference_catalog"

Try up to -100 at the end of the id when doing title-to-id renaming.

Reference Engine bits

Definition at line 18 of file config.py.

Definition at line 9 of file config.py.

Definition at line 13 of file config.py.

string Archetypes.config.SKIN_NAME = "archetypes"

Definition at line 4 of file config.py.

string Archetypes.config.TOOL_NAME = "archetype_tool"

Definition at line 5 of file config.py.

string Archetypes.config.UID_CATALOG = "uid_catalog"

Name the tool will be installed under.

Definition at line 7 of file config.py.

string Archetypes.config.UUID_ATTR = "_at_uid"

Definition at line 19 of file config.py.

In zope 2.6.3+ and 2.7.0b4+ a lines field returns a tuple not a list.

Per default archetypes returns a tuple, too. If this breaks your software you can disable the change. See http://zope.org/Collectors/Zope/924

Definition at line 26 of file config.py.