|
Revision 1078
(checked in by piv, 10 months ago)
|
installation update for plone 3
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
from Products.CMFCore import permissions |
|---|
| 2 |
|
|---|
| 3 |
VIEW_PERMISSION = permissions.ManagePortal |
|---|
| 4 |
|
|---|
| 5 |
PROJECTNAME = 'qPloneTabs' |
|---|
| 6 |
SKINS_DIR = 'skins' |
|---|
| 7 |
|
|---|
| 8 |
GLOBALS = globals() |
|---|
| 9 |
|
|---|
| 10 |
PROPERTY_SHEET = 'tabs_properties' |
|---|
| 11 |
SHEET_TITLE = 'Portal Tabs Properties' |
|---|
| 12 |
FIELD_NAME = 'titles' |
|---|
| 13 |
PROPERTY_FIELD = ['portal_tabs|Portal Tabs Configuration', 'portal_footer|Portal Footer Configuration'] |
|---|
| 14 |
|
|---|
| 15 |
""" Example javascript |
|---|
| 16 |
{'id' : 'test.js', |
|---|
| 17 |
'expression' : 'python: member is not None', |
|---|
| 18 |
'inline' : False, |
|---|
| 19 |
'enabled': : True, |
|---|
| 20 |
'cookable' : True, |
|---|
| 21 |
'compression' : 'safe', |
|---|
| 22 |
'cacheable' : True} |
|---|
| 23 |
""" |
|---|
| 24 |
|
|---|
| 25 |
JAVASCRIPTS = [] |
|---|
| 26 |
|
|---|
| 27 |
""" Example css |
|---|
| 28 |
{'id' : 'test.css', |
|---|
| 29 |
'expression' : 'python: member is not None', |
|---|
| 30 |
'media' : 'screen', |
|---|
| 31 |
'rel' : 'stylesheet', |
|---|
| 32 |
'title' : 'example styles', |
|---|
| 33 |
'rendering' : 'import', |
|---|
| 34 |
'enabled': : True, |
|---|
| 35 |
'cookable' : True, |
|---|
| 36 |
'compression' : 'safe', |
|---|
| 37 |
'cacheable' : True} |
|---|
| 38 |
""" |
|---|
| 39 |
|
|---|
| 40 |
CSSES = [{'id' : 'qplonetabs.css', |
|---|
| 41 |
'expression' : '', |
|---|
| 42 |
'media' : 'screen', |
|---|
| 43 |
'rel' : 'stylesheet', |
|---|
| 44 |
'title' : 'qPloneTabs styles', |
|---|
| 45 |
'rendering' : 'import', |
|---|
| 46 |
'enabled' : True, |
|---|
| 47 |
'cookable' : True, |
|---|
| 48 |
'compression' : 'safe', |
|---|
| 49 |
'cacheable' : True}] |
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
""" Example kss |
|---|
| 53 |
{'id' : 'test.kss', |
|---|
| 54 |
'expression' : 'python: member is not None', |
|---|
| 55 |
'enabled': : True, |
|---|
| 56 |
'cookable' : True, |
|---|
| 57 |
'compression' : 'safe', |
|---|
| 58 |
'cacheable' : True} |
|---|
| 59 |
""" |
|---|
| 60 |
|
|---|
| 61 |
KSSES = [{'id' : 'qplonetabs.kss', |
|---|
| 62 |
'expression' : '', |
|---|
| 63 |
'enabled' : True, |
|---|
| 64 |
'cookable' : True, |
|---|
| 65 |
'compression' : 'safe', |
|---|
| 66 |
'cacheable' : True},] |
|---|
| 67 |
|
|---|