diff --git a/README.rst b/README.rst index 29b9ef4..069520a 100644 --- a/README.rst +++ b/README.rst @@ -52,6 +52,7 @@ Panels include: * Zope, showing information about how the Zope server is configured * Versions, listing the versions of every package known to the Zope process + Safety ====== @@ -63,6 +64,7 @@ allowing a user to bypass Zope security. In other words: **Do not install this package on your production server**. + Integration =========== @@ -83,6 +85,14 @@ viewlet registration like this: See ``plone.app.debugtoolbar.browser`` for plenty of examples of panels. +The debug toolbar registers itself as a viewlet in the portal footer within the +`plone.app.layout.viewlets.interfaces.IPortalFooter` viewlet manager. +If you have a custom theme without any viewlet managers included, you can also +directly include the debug toolbar as a view like so:: + + + + Contribute ---------- diff --git a/news/32.feature b/news/32.feature new file mode 100644 index 0000000..47fd334 --- /dev/null +++ b/news/32.feature @@ -0,0 +1,4 @@ +Add a debug toolbar view +Register a `plone.app.debugtoolbar.toolbar` browser view additionally to the viewlet with the same name. +This allows to include the debug toolbar in custom themes without viewlets. +[thet] diff --git a/src/plone/app/debugtoolbar/browser/configure.zcml b/src/plone/app/debugtoolbar/browser/configure.zcml index 7e5cd81..03e79fc 100644 --- a/src/plone/app/debugtoolbar/browser/configure.zcml +++ b/src/plone/app/debugtoolbar/browser/configure.zcml @@ -12,6 +12,14 @@ directory="resources" /> + +