--- a/src/pyams_default_theme/component/illustration/__init__.py Thu Sep 27 16:41:05 2018 +0200
+++ b/src/pyams_default_theme/component/illustration/__init__.py Thu Sep 27 16:59:23 2018 +0200
@@ -23,6 +23,7 @@
from pyams_content.features.renderer.interfaces import IContentRenderer
from pyams_content.features.renderer.skin import BaseContentRenderer
from pyams_content.interfaces import IBaseContent
+from pyams_content.root import ISiteRoot
from pyams_default_theme import _
from pyams_default_theme.component.illustration.interfaces import IIllustrationRenderer, IIllustrationWithZoomSettings, \
ILLUSTRATION_AFTER_BODY, ILLUSTRATION_BEFORE_BODY
@@ -66,6 +67,7 @@
return self.request.registry.queryMultiAdapter((context, self.request), IContentNavigationIllustration)
+@adapter_config(context=(ISiteRoot, IPyAMSLayer), provides=IContentHeaderIllustration)
@adapter_config(context=(IBaseContent, IPyAMSLayer), provides=IContentHeaderIllustration)
def base_content_header_illustration_adapter(context, request):
"""Base content header illustration adapter"""