Revision ff30ee3a cloudcms/cms.py
b/cloudcms/cms.py | ||
---|---|---|
57 | 57 |
from cloudcmsresources.models import ResourcesList |
58 | 58 |
from cloudcms.content import * |
59 | 59 |
|
60 |
|
|
60 | 61 |
Page.register_extensions( |
61 | 62 |
'changedate', |
62 | 63 |
'datepublisher', |
... | ... | |
65 | 66 |
'symlinks', |
66 | 67 |
'navigation', |
67 | 68 |
'sites', |
68 |
'titles' |
|
69 |
'titles', |
|
70 |
'featured', |
|
69 | 71 |
) |
70 | 72 |
|
71 | 73 |
|
... | ... | |
137 | 139 |
('main', 'Main region'), |
138 | 140 |
), |
139 | 141 |
}, |
142 |
{ |
|
143 |
'key': 'topwidetwocol', |
|
144 |
'title': 'Basic (Top 1 col, Middle 2 cols, Bottom 2 cols)', |
|
145 |
'path': 'cms/pages/topwidetwocol.html', |
|
146 |
'regions': ( |
|
147 |
('top', 'Top region'), |
|
148 |
('middle_left', 'Middle left region'), |
|
149 |
('middle_right', 'Middle right region'), |
|
150 |
('bottom_left', 'Bottom left region'), |
|
151 |
('bottom_right', 'Bottom right region'), |
|
152 |
), |
|
153 |
}, |
|
140 | 154 |
] |
141 | 155 |
|
142 | 156 |
# register templates |
... | ... | |
202 | 216 |
('default', 'Default position'), |
203 | 217 |
)) |
204 | 218 |
|
219 |
|
|
220 |
Page.create_content_type(StatsBlock) |
|
221 |
Page.create_content_type(IntroVideo) |
Also available in: Unified diff