imio.smartweb.core 1.1.14__py3-none-any.whl → 1.1.19__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. imio/smartweb/core/browser/configure.zcml +1 -0
  2. imio/smartweb/core/browser/controlpanel.py +24 -0
  3. imio/smartweb/core/browser/dashboards/__init__.py +0 -0
  4. imio/smartweb/core/browser/dashboards/configure.zcml +17 -0
  5. imio/smartweb/core/browser/dashboards/plausible.pt +29 -0
  6. imio/smartweb/core/browser/dashboards/plausible.py +21 -0
  7. imio/smartweb/core/browser/faceted/map.pt +3 -7
  8. imio/smartweb/core/browser/overrides/plone.app.content.browser.contents.templates.properties.pt +48 -0
  9. imio/smartweb/core/browser/static/icons/categorie-horaires.svg +2 -2
  10. imio/smartweb/core/browser/static/icons/reseausocial-facebook.svg +1 -1
  11. imio/smartweb/core/browser/static/icons/reseausocial-youtube.svg +1 -1
  12. imio/smartweb/core/browser/static/smartweb-swiperconfig-compiled.js +1 -0
  13. imio/smartweb/core/browser/static/smartweb-view-compiled.js +1 -1
  14. imio/smartweb/core/browser/static/src/swiper-config.js +46 -0
  15. imio/smartweb/core/browser/static/src/view.js +1 -46
  16. imio/smartweb/core/browser/static/swiper-bundle.min.css +4 -4
  17. imio/smartweb/core/browser/static/swiper-bundle.min.js +5 -4
  18. imio/smartweb/core/browser/static/webpack.config.js +2 -0
  19. imio/smartweb/core/browser/utils.py +33 -0
  20. imio/smartweb/core/contents/__init__.py +4 -0
  21. imio/smartweb/core/contents/cropping.py +3 -6
  22. imio/smartweb/core/contents/folder/content.py +1 -5
  23. imio/smartweb/core/contents/folder/views.py +3 -1
  24. imio/smartweb/core/contents/pages/pages.py +0 -5
  25. imio/smartweb/core/contents/pages/view.pt +3 -0
  26. imio/smartweb/core/contents/rest/base.py +16 -0
  27. imio/smartweb/core/contents/rest/directory/endpoint.py +8 -15
  28. imio/smartweb/core/contents/rest/events/endpoint.py +6 -12
  29. imio/smartweb/core/contents/rest/news/endpoint.py +6 -11
  30. imio/smartweb/core/contents/rest/search/endpoint.py +26 -6
  31. imio/smartweb/core/contents/sections/configure.zcml +1 -0
  32. imio/smartweb/core/contents/sections/contact/view.pt +1 -2
  33. imio/smartweb/core/contents/sections/contact/view.py +6 -8
  34. imio/smartweb/core/contents/sections/events/view.py +6 -7
  35. imio/smartweb/core/contents/sections/external_content/__init__.py +0 -0
  36. imio/smartweb/core/contents/sections/external_content/configure.zcml +14 -0
  37. imio/smartweb/core/contents/sections/external_content/content.py +32 -0
  38. imio/smartweb/core/contents/sections/external_content/view.pt +31 -0
  39. imio/smartweb/core/contents/sections/external_content/views.py +31 -0
  40. imio/smartweb/core/contents/sections/gallery/view.pt +1 -2
  41. imio/smartweb/core/contents/sections/macros.pt +0 -4
  42. imio/smartweb/core/contents/sections/news/view.py +6 -7
  43. imio/smartweb/core/contents/sections/text/configure.zcml +0 -6
  44. imio/smartweb/core/contents/sections/text/content.py +0 -12
  45. imio/smartweb/core/contents/sections/text/forms.py +2 -0
  46. imio/smartweb/core/contents/sections/views.py +25 -0
  47. imio/smartweb/core/permissions.zcml +6 -0
  48. imio/smartweb/core/profiles/default/metadata.xml +1 -1
  49. imio/smartweb/core/profiles/default/rolemap.xml +6 -0
  50. imio/smartweb/core/profiles/default/types/imio.smartweb.Page.xml +1 -0
  51. imio/smartweb/core/profiles/default/types/imio.smartweb.PortalPage.xml +1 -0
  52. imio/smartweb/core/profiles/default/types/imio.smartweb.Procedure.xml +1 -0
  53. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionContact.xml +0 -1
  54. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionEvents.xml +0 -1
  55. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionExternalContent.xml +35 -0
  56. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionFiles.xml +0 -1
  57. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionGallery.xml +0 -1
  58. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionHTML.xml +1 -1
  59. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionLinks.xml +0 -1
  60. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionMap.xml +0 -1
  61. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionNews.xml +0 -1
  62. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionPostit.xml +0 -1
  63. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionSelections.xml +0 -1
  64. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionSendinblue.xml +0 -1
  65. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionSlide.xml +0 -1
  66. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionText.xml +0 -1
  67. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionVideo.xml +0 -1
  68. imio/smartweb/core/profiles/default/types.xml +1 -0
  69. imio/smartweb/core/profiles/default/workflows.xml +1 -0
  70. imio/smartweb/core/tests/resources/json_rest_directory.json +1099 -0
  71. imio/smartweb/core/tests/resources/json_rest_events.json +1099 -0
  72. imio/smartweb/core/tests/resources/json_rest_news.json +1103 -4
  73. imio/smartweb/core/tests/test_cropping.py +6 -28
  74. imio/smartweb/core/tests/test_folder.py +17 -13
  75. imio/smartweb/core/tests/test_page.py +0 -13
  76. imio/smartweb/core/tests/test_plausibleview.py +83 -0
  77. imio/smartweb/core/tests/test_rest.py +40 -0
  78. imio/smartweb/core/tests/test_section_contact.py +45 -0
  79. imio/smartweb/core/tests/test_section_events.py +56 -10
  80. imio/smartweb/core/tests/test_section_news.py +46 -11
  81. imio/smartweb/core/tests/test_sections.py +34 -0
  82. imio/smartweb/core/upgrades/configure.zcml +90 -0
  83. imio/smartweb/core/upgrades/profiles/1037_to_1038/registry/plausible.xml +9 -0
  84. imio/smartweb/core/upgrades/profiles/1038_to_1039/rolemap.xml +12 -0
  85. imio/smartweb/core/upgrades/profiles/1038_to_1039/types/imio.smartweb.Page.xml +11 -0
  86. imio/smartweb/core/upgrades/profiles/1038_to_1039/types/imio.smartweb.PortalPage.xml +11 -0
  87. imio/smartweb/core/upgrades/profiles/1038_to_1039/types/imio.smartweb.Procedure.xml +11 -0
  88. imio/smartweb/core/upgrades/profiles/1038_to_1039/types/imio.smartweb.SectionExternalContent.xml +36 -0
  89. imio/smartweb/core/upgrades/profiles/1038_to_1039/types.xml +4 -0
  90. imio/smartweb/core/upgrades/profiles/1038_to_1039/workflows.xml +6 -0
  91. imio/smartweb/core/upgrades/profiles/1039_to_1040/types/imio.smartweb.SectionSlide.xml +14 -0
  92. imio/smartweb/core/upgrades/profiles/1040_to_1041/types/imio.smartweb.SectionText.xml +17 -0
  93. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionContact.xml +14 -0
  94. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionEvents.xml +14 -0
  95. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionExternalContent.xml +15 -0
  96. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionFiles.xml +14 -0
  97. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionGallery.xml +15 -0
  98. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionLinks.xml +14 -0
  99. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionMap.xml +15 -0
  100. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionNews.xml +14 -0
  101. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionPostit.xml +14 -0
  102. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionSelections.xml +14 -0
  103. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionSendinblue.xml +14 -0
  104. imio/smartweb/core/upgrades/profiles/1041_to_1042/types/imio.smartweb.SectionVideo.xml +15 -0
  105. imio/smartweb/core/webcomponents/build/css/195.smartweb-webcomponents-compiled.css +1 -1
  106. imio/smartweb/core/webcomponents/build/css/552.smartweb-webcomponents-compiled.css +1 -1
  107. imio/smartweb/core/webcomponents/build/js/195.smartweb-webcomponents-compiled.js +1 -1
  108. imio/smartweb/core/webcomponents/build/js/212.smartweb-webcomponents-compiled.js +2 -0
  109. imio/smartweb/core/webcomponents/build/js/323.smartweb-webcomponents-compiled.js +1 -1
  110. imio/smartweb/core/webcomponents/build/js/510.smartweb-webcomponents-compiled.js +1 -1
  111. imio/smartweb/core/webcomponents/build/js/552.smartweb-webcomponents-compiled.js +1 -1
  112. imio/smartweb/core/webcomponents/build/js/{462.smartweb-webcomponents-compiled.js → 565.smartweb-webcomponents-compiled.js} +1 -1
  113. imio/smartweb/core/webcomponents/build/js/{842.smartweb-webcomponents-compiled.js → 729.smartweb-webcomponents-compiled.js} +2 -2
  114. imio/smartweb/core/webcomponents/build/js/9.smartweb-webcomponents-compiled.js +1 -1
  115. imio/smartweb/core/webcomponents/build/js/9.smartweb-webcomponents-compiled.js.LICENSE.txt +2 -2
  116. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
  117. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactCard/ContactCard.jsx +2 -3
  118. imio/smartweb/core/webcomponents/src/components/Events/ContactCard/ContactCard.jsx +1 -2
  119. imio/smartweb/core/webcomponents/src/components/Events/Events.jsx +0 -1
  120. imio/smartweb/core/webcomponents/src/components/News/ContactCard/ContactCard.jsx +1 -2
  121. imio/smartweb/core/webcomponents/src/components/News/ContactContent/ContactContent.jsx +1 -1
  122. {imio.smartweb.core-1.1.14.dist-info → imio.smartweb.core-1.1.19.dist-info}/METADATA +106 -18
  123. {imio.smartweb.core-1.1.14.dist-info → imio.smartweb.core-1.1.19.dist-info}/RECORD +131 -96
  124. {imio.smartweb.core-1.1.14.dist-info → imio.smartweb.core-1.1.19.dist-info}/WHEEL +1 -1
  125. imio/smartweb/core/webcomponents/build/assets/img-placeholder-bla.a2b8b384c46ce56c99f042dc4625d309.png +0 -0
  126. imio/smartweb/core/webcomponents/build/js/650.smartweb-webcomponents-compiled.js +0 -2
  127. /imio/smartweb/core/webcomponents/build/js/{650.smartweb-webcomponents-compiled.js.LICENSE.txt → 212.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
  128. /imio/smartweb/core/webcomponents/build/js/{842.smartweb-webcomponents-compiled.js.LICENSE.txt → 729.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
  129. /imio.smartweb.core-1.1.14-nspkg.pth → /imio.smartweb.core-1.1.19-py3.10-nspkg.pth +0 -0
  130. {imio.smartweb.core-1.1.14.dist-info → imio.smartweb.core-1.1.19.dist-info}/LICENSE.GPL +0 -0
  131. {imio.smartweb.core-1.1.14.dist-info → imio.smartweb.core-1.1.19.dist-info}/LICENSE.rst +0 -0
  132. {imio.smartweb.core-1.1.14.dist-info → imio.smartweb.core-1.1.19.dist-info}/namespace_packages.txt +0 -0
  133. {imio.smartweb.core-1.1.14.dist-info → imio.smartweb.core-1.1.19.dist-info}/top_level.txt +0 -0
@@ -23,6 +23,7 @@ class TextCustomAddForm(CustomAddForm):
23
23
  def updateFields(self):
24
24
  super(TextCustomAddForm, self).updateFields()
25
25
  self.fields["ILeadImageBehavior.image_caption"].mode = INPUT_MODE
26
+ self.fields["image_size"].mode = HIDDEN_MODE
26
27
 
27
28
 
28
29
  class TextCustomAddView(DefaultAddView):
@@ -42,6 +43,7 @@ class TextCustomEditForm(SmartwebCustomEditForm):
42
43
  def updateFields(self):
43
44
  super(TextCustomEditForm, self).updateFields()
44
45
  self.fields["ILeadImageBehavior.image_caption"].mode = INPUT_MODE
46
+ self.fields["image_size"].mode = HIDDEN_MODE
45
47
 
46
48
 
47
49
  TextCustomEditView = layout.wrap_form(TextCustomEditForm)
@@ -1,10 +1,20 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
+ from imio.smartweb.core.utils import hash_md5
3
4
  from imio.smartweb.locales import SmartwebMessageFactory as _
4
5
  from plone import api
5
6
  from plone.locking.browser.info import LockInfoViewlet
7
+ from plone.protect.interfaces import IDisableCSRFProtection
6
8
  from Products.Five.browser import BrowserView
9
+ from zope.annotation.interfaces import IAnnotations
10
+ from zope.interface import alsoProvides
7
11
  from zope.interface import Interface
12
+ from zope.lifecycleevent import modified
13
+
14
+ import json
15
+
16
+
17
+ SECTION_ITEMS_HASH_KEY = "sections-items-hash-key"
8
18
 
9
19
 
10
20
  class ISectionView(Interface):
@@ -59,3 +69,18 @@ class CarouselOrTableSectionView(SectionView):
59
69
  return self.context.nb_results_by_batch == 1 and "liste" or "vignette"
60
70
  else:
61
71
  return getattr(self.context, "image_scale", "")
72
+
73
+
74
+ class HashableJsonSectionView(SectionView):
75
+ json_data = None
76
+
77
+ def refresh_modification_date(self):
78
+ new_hash = None
79
+ if self.json_data is not None:
80
+ new_hash = hash_md5(json.dumps(self.json_data))
81
+ annotations = IAnnotations(self.context)
82
+ stored_hash = annotations.get(SECTION_ITEMS_HASH_KEY)
83
+ if stored_hash != new_hash:
84
+ alsoProvides(self.request, IDisableCSRFProtection)
85
+ modified(self.context)
86
+ annotations[SECTION_ITEMS_HASH_KEY] = new_hash
@@ -56,6 +56,12 @@
56
56
  description=""
57
57
  />
58
58
 
59
+ <permission
60
+ id="imio.smartweb.core.CanManageSectionExternalContent"
61
+ title="imio.smartweb.core: Can add section External Content"
62
+ description=""
63
+ />
64
+
59
65
  <permission
60
66
  id="imio.smartweb.core.CanEditMinisiteLogo"
61
67
  title="imio.smartweb.core: Edit Minisite Logo"
@@ -1,6 +1,6 @@
1
1
  <?xml version='1.0' encoding='UTF-8'?>
2
2
  <metadata>
3
- <version>1037</version>
3
+ <version>1042</version>
4
4
  <dependencies>
5
5
  <dependency>profile-plone.app.dexterity:default</dependency>
6
6
  <dependency>profile-plone.app.imagecropping:default</dependency>
@@ -72,6 +72,12 @@
72
72
  <role name="Local Manager" />
73
73
  </permission>
74
74
 
75
+ <permission name="imio.smartweb.core: Can add section External Content" acquire="True">
76
+ <role name="Manager"/>
77
+ <role name="Site Administrator"/>
78
+ <role name="Local Manager" />
79
+ </permission>
80
+
75
81
  <permission name="imio.smartweb.core: Manage taxonomies on this content" acquire="True">
76
82
  <role name="Manager"/>
77
83
  <role name="Site Administrator"/>
@@ -19,6 +19,7 @@
19
19
  <property name="filter_content_types">True</property>
20
20
  <property name="allowed_content_types">
21
21
  <element value="imio.smartweb.SectionContact" />
22
+ <element value="imio.smartweb.SectionExternalContent" />
22
23
  <element value="imio.smartweb.SectionFiles" />
23
24
  <element value="imio.smartweb.SectionGallery" />
24
25
  <element value="imio.smartweb.SectionHTML" />
@@ -20,6 +20,7 @@
20
20
  <property name="allowed_content_types">
21
21
  <element value="imio.smartweb.SectionCollection" />
22
22
  <element value="imio.smartweb.SectionContact" />
23
+ <element value="imio.smartweb.SectionExternalContent" />
23
24
  <element value="imio.smartweb.SectionGallery" />
24
25
  <element value="imio.smartweb.SectionHTML" />
25
26
  <element value="imio.smartweb.SectionEvents" />
@@ -19,6 +19,7 @@
19
19
  <property name="filter_content_types">True</property>
20
20
  <property name="allowed_content_types">
21
21
  <element value="imio.smartweb.SectionContact" />
22
+ <element value="imio.smartweb.SectionExternalContent" />
22
23
  <element value="imio.smartweb.SectionFiles" />
23
24
  <element value="imio.smartweb.SectionGallery" />
24
25
  <element value="imio.smartweb.SectionHTML" />
@@ -28,7 +28,6 @@
28
28
  <element value="plone.namefromtitle"/>
29
29
  <element value="plone.locking"/>
30
30
  <element value="plone.shortname"/>
31
- <element value="plone.imagecropping"/>
32
31
  </property>
33
32
 
34
33
  </object>
@@ -28,7 +28,6 @@
28
28
  <element value="plone.namefromtitle"/>
29
29
  <element value="plone.locking"/>
30
30
  <element value="plone.shortname"/>
31
- <element value="plone.imagecropping"/>
32
31
  </property>
33
32
 
34
33
  <!-- View information -->
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0"?>
2
+ <object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
3
+ name="imio.smartweb.SectionExternalContent"
4
+ meta_type="Dexterity FTI"
5
+ i18n:domain="imio.smartweb">
6
+
7
+ <!-- Basic properties -->
8
+ <property
9
+ i18n:translate=""
10
+ name="title">External content section</property>
11
+ <property
12
+ i18n:translate=""
13
+ name="description">External content section for a page</property>
14
+
15
+ <property name="icon_expr">string:window-plus</property>
16
+
17
+ <!-- Hierarchy control -->
18
+ <property name="global_allow">False</property>
19
+ <property name="filter_content_types">True</property>
20
+
21
+ <!-- Schema, class and security -->
22
+ <!-- if we can add a page, we can add a page section -->
23
+ <property name="add_permission">imio.smartweb.core.CanManageSectionExternalContent</property>
24
+ <property name="klass">imio.smartweb.core.contents.SectionExternalContent</property>
25
+ <property name="schema">imio.smartweb.core.contents.ISectionExternalContent</property>
26
+
27
+ <!-- Enabled behaviors -->
28
+ <property name="behaviors" purge="false">
29
+ <element value="plone.namefromtitle"/>
30
+ <element value="plone.locking"/>
31
+ <element value="plone.shortname"/>
32
+ <element value="imio.smartweb.topics"/>
33
+ </property>
34
+
35
+ </object>
@@ -31,7 +31,6 @@
31
31
  <element value="plone.namefromtitle"/>
32
32
  <element value="plone.locking"/>
33
33
  <element value="plone.shortname"/>
34
- <element value="plone.imagecropping"/>
35
34
  </property>
36
35
 
37
36
  <!-- View information -->
@@ -31,7 +31,6 @@
31
31
  <element value="plone.namefromtitle"/>
32
32
  <element value="plone.locking"/>
33
33
  <element value="plone.shortname"/>
34
- <element value="plone.imagecropping"/>
35
34
  <element value="imio.smartweb.topics"/>
36
35
  </property>
37
36
 
@@ -12,7 +12,7 @@
12
12
  i18n:translate=""
13
13
  name="description">HTML section for a page</property>
14
14
 
15
- <property name="icon_expr">string:code-slash</property>
15
+ <property name="icon_expr">string:filetype-html</property>
16
16
 
17
17
  <!-- Hierarchy control -->
18
18
  <property name="global_allow">False</property>
@@ -31,7 +31,6 @@
31
31
  <element value="plone.namefromtitle"/>
32
32
  <element value="plone.locking"/>
33
33
  <element value="plone.shortname"/>
34
- <element value="plone.imagecropping"/>
35
34
  </property>
36
35
 
37
36
  <!-- View information -->
@@ -28,7 +28,6 @@
28
28
  <element value="plone.namefromtitle"/>
29
29
  <element value="plone.locking"/>
30
30
  <element value="plone.shortname"/>
31
- <element value="plone.imagecropping"/>
32
31
  <element value="geolocatable"/>
33
32
  </property>
34
33
 
@@ -28,7 +28,6 @@
28
28
  <element value="plone.namefromtitle"/>
29
29
  <element value="plone.locking"/>
30
30
  <element value="plone.shortname"/>
31
- <element value="plone.imagecropping"/>
32
31
  </property>
33
32
 
34
33
  <!-- View information -->
@@ -29,7 +29,6 @@
29
29
  <element value="plone.namefromtitle"/>
30
30
  <element value="plone.locking"/>
31
31
  <element value="plone.shortname"/>
32
- <element value="plone.imagecropping"/>
33
32
  </property>
34
33
 
35
34
  </object>
@@ -29,7 +29,6 @@
29
29
  <element value="plone.namefromtitle"/>
30
30
  <element value="plone.locking"/>
31
31
  <element value="plone.shortname"/>
32
- <element value="plone.imagecropping"/>
33
32
  </property>
34
33
 
35
34
  <!-- View information -->
@@ -28,7 +28,6 @@
28
28
  <element value="plone.namefromtitle"/>
29
29
  <element value="plone.locking"/>
30
30
  <element value="plone.shortname"/>
31
- <element value="plone.imagecropping"/>
32
31
  </property>
33
32
 
34
33
  </object>
@@ -29,7 +29,6 @@
29
29
  <element value="plone.namefromtitle"/>
30
30
  <element value="plone.locking"/>
31
31
  <element value="plone.shortname"/>
32
- <element value="plone.imagecropping"/>
33
32
  </property>
34
33
 
35
34
  </object>
@@ -32,7 +32,6 @@
32
32
  <element value="plone.versioning" />
33
33
  <element value="plone.richtext"/>
34
34
  <element value="plone.leadimage"/>
35
- <element value="plone.imagecropping"/>
36
35
  </property>
37
36
 
38
37
  </object>
@@ -29,7 +29,6 @@
29
29
  <element value="plone.namefromtitle"/>
30
30
  <element value="plone.locking"/>
31
31
  <element value="plone.shortname"/>
32
- <element value="plone.imagecropping"/>
33
32
  <element value="imio.smartweb.topics"/>
34
33
  </property>
35
34
 
@@ -14,6 +14,7 @@
14
14
  <object meta_type="Dexterity FTI" name="imio.smartweb.SectionCollection"/>
15
15
  <object meta_type="Dexterity FTI" name="imio.smartweb.SectionContact"/>
16
16
  <object meta_type="Dexterity FTI" name="imio.smartweb.SectionEvents"/>
17
+ <object meta_type="Dexterity FTI" name="imio.smartweb.SectionExternalContent"/>
17
18
  <object meta_type="Dexterity FTI" name="imio.smartweb.SectionFiles"/>
18
19
  <object meta_type="Dexterity FTI" name="imio.smartweb.SectionGallery"/>
19
20
  <object meta_type="Dexterity FTI" name="imio.smartweb.SectionHTML"/>
@@ -7,6 +7,7 @@
7
7
  <type type_id="imio.smartweb.SectionCollection"/>
8
8
  <type type_id="imio.smartweb.SectionContact"/>
9
9
  <type type_id="imio.smartweb.SectionEvents"/>
10
+ <type type_id="imio.smartweb.SectionExternalContent"/>
10
11
  <type type_id="imio.smartweb.SectionFiles"/>
11
12
  <type type_id="imio.smartweb.SectionGallery"/>
12
13
  <type type_id="imio.smartweb.SectionHTML"/>