New signals to add content to the front page

This commit is contained in:
Raphael Michel
2016-08-15 15:33:30 +02:00
parent 1ef5973e26
commit 74866437f4
4 changed files with 48 additions and 18 deletions

View File

@@ -78,3 +78,25 @@ easy to cause serious performance problems.
As with all plugin signals, the ``sender`` keyword argument will contain the event.
"""
front_page_top = EventPluginSignal(
providing_args=[]
)
"""
This signal is sent out to display additional information on the frontpage above the list
of products and but below a custom frontpage text.
As with all plugin signals, the ``sender`` keyword argument will contain the event. The
receivers are expected to return HTML.
"""
front_page_bottom = EventPluginSignal(
providing_args=[]
)
"""
This signal is sent out to display additional information on the frontpage below the list
of products.
As with all plugin signals, the ``sender`` keyword argument will contain the event. The
receivers are expected to return HTML.
"""