-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
30 lines (25 loc) · 1.51 KB
/
__init__.py
File metadata and controls
30 lines (25 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Register our skins directory - this makes it available via portal_skins.
# register our profile
from Products.CMFCore.DirectoryView import registerDirectory
from Products.GenericSetup import EXTENSION, profile_registry
from Products.CMFPlone.interfaces import IPloneSiteRoot
from config import GLOBALS
registerDirectory('skins', GLOBALS)
profile_registry.registerProfile(
'whatcountssignup', # name
'WhatCounts Signup', # title
'Extension profile for WhatCounts Signup', # description
'profile/default', # path
'whatcountssignup', # product=None
EXTENSION, # profile_type=BASE
for_=IPloneSiteRoot # for_=None
)
profile_registry.registerProfile(
'whatcountssignup-uninstall', # name
'WhatCounts Signup Uninstall', # title
'"Uninstall" profile for WhatCounts Signup', # description
'profile/uninstalled', # path
'whatcountssignup', # product=None
EXTENSION, # profile_type=BASE
for_=IPloneSiteRoot # for_=None
)