Last change
on this file since 3309 was
458,
checked in by fenix, 18 years ago
|
qPloneResolveUID import
|
File size:
566 bytes
|
Line | |
---|
1 | """Common configuration constants |
---|
2 | """ |
---|
3 | |
---|
4 | PROJECTNAME = 'qPloneGoogleSitemaps' |
---|
5 | |
---|
6 | ADD_PERMISSIONS = { |
---|
7 | # -*- extra stuff goes here -*- |
---|
8 | 'Sitemap': 'qPloneGoogleSitemaps: Add Sitemap', |
---|
9 | } |
---|
10 | |
---|
11 | SITEMAPS_VIEW_MAP = { |
---|
12 | 'content' : 'sitemap.xml', |
---|
13 | 'mobile' : 'mobile-sitemap.xml', |
---|
14 | 'news' : 'news-sitemap.xml' |
---|
15 | } |
---|
16 | |
---|
17 | ping_googlesitemap = 'pingGoogleSitemap' |
---|
18 | testing = 0 |
---|
19 | |
---|
20 | AVAILABLE_WF_SCRIPTS = [ping_googlesitemap, ''] |
---|
21 | |
---|
22 | try: |
---|
23 | from Products.DCWorkflow.events import AfterTransitionEvent |
---|
24 | except ImportError: |
---|
25 | IS_PLONE_3 = False |
---|
26 | else: |
---|
27 | IS_PLONE_3 = True |
---|
Note: See
TracBrowser
for help on using the repository browser.