source: products/quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/config.py @ 1728

Last change on this file since 1728 was 1728, checked in by mylan, 14 years ago

Add flag for turn-on/off catalog updating. By default set to False. Update INSTALLATION file with cataog updating instructions

  • Property svn:eol-style set to native
File size: 665 bytes
RevLine 
[1593]1"""Common configuration constants
2"""
3
4PROJECTNAME = 'quintagroup.plonegooglesitemaps'
5
6ADD_PERMISSIONS = {
7    # -*- extra stuff goes here -*-
8    'Sitemap': 'qPloneGoogleSitemaps: Add Sitemap',
9}
10
11SITEMAPS_VIEW_MAP = {
12    'content'   : 'sitemap.xml',
13    'mobile'    : 'mobile-sitemap.xml',
14    'news'      : 'news-sitemap.xml'
15}
16
17ping_googlesitemap = 'pingGoogleSitemap'
18testing = 0
19
20AVAILABLE_WF_SCRIPTS = [ping_googlesitemap, '']
21
22try:
23    from Products.DCWorkflow.events import AfterTransitionEvent
24except ImportError:
25    IS_PLONE_3 = False
26else:
27    IS_PLONE_3 = True
[1728]28
29# Turn-ON/OFF portal_catalog
30# updating on product installation
31UPDATE_CATALOG = False
Note: See TracBrowser for help on using the repository browser.