Added header and footer features support to site root
authorThierry Florac <thierry.florac@onf.fr>
Fri, 18 May 2018 15:51:58 +0200
changeset 547 5eb6713c8e7d
parent 546 213db0cb6b4c
child 548 43048fb84b87
Added header and footer features support to site root
src/pyams_content/root/__init__.py
--- a/src/pyams_content/root/__init__.py	Fri May 18 15:51:14 2018 +0200
+++ b/src/pyams_content/root/__init__.py	Fri May 18 15:51:58 2018 +0200
@@ -19,6 +19,8 @@
 
 # import interfaces
 from pyams_content.features.alert.interfaces import IAlertTarget
+from pyams_content.features.footer.interfaces import IFooterTarget
+from pyams_content.features.header.interfaces import IHeaderTarget
 from pyams_content.features.preview.interfaces import IPreviewTarget
 from pyams_content.interfaces import WEBMASTER_ROLE, OPERATOR_ROLE
 from pyams_content.root.interfaces import ISiteRootRoles, ISiteRootConfiguration, ISiteRoot, \
@@ -45,7 +47,7 @@
 
 
 @implementer(IDefaultProtectionPolicy, ISiteRoot, ISiteRootRoles, IPortalContext,
-             IAlertTarget, IPreviewTarget)
+             IHeaderTarget, IFooterTarget, IAlertTarget, IPreviewTarget)
 class SiteRoot(ProtectedObject, BaseSiteRoot, UserSkinnableContent):
     """Main site root"""