Hooks for: local navigation
This commit is contained in:
parent
673e7d2559
commit
f75c2328cc
@ -82,3 +82,9 @@ StartNoticeSave: before inserting a notice (good place for content filters)
|
|||||||
EndNoticeSave: after inserting a notice and related code
|
EndNoticeSave: after inserting a notice and related code
|
||||||
- $notice: notice that was saved (with ID and URI)
|
- $notice: notice that was saved (with ID and URI)
|
||||||
|
|
||||||
|
StartShowLocalNavBlock: Showing the local nav menu
|
||||||
|
- $action: the current action
|
||||||
|
|
||||||
|
EndShowLocalNavBlock: At the end of the local nav menu
|
||||||
|
- $action: the current action
|
||||||
|
|
||||||
|
@ -474,7 +474,10 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
function showCore()
|
function showCore()
|
||||||
{
|
{
|
||||||
$this->elementStart('div', array('id' => 'core'));
|
$this->elementStart('div', array('id' => 'core'));
|
||||||
|
if (Event::handle('StartShowLocalNavBlock', array($this))) {
|
||||||
$this->showLocalNavBlock();
|
$this->showLocalNavBlock();
|
||||||
|
Event::handle('EndShowLocalNavBlock', array($this));
|
||||||
|
}
|
||||||
if (Event::handle('StartShowContentBlock', array($this))) {
|
if (Event::handle('StartShowContentBlock', array($this))) {
|
||||||
$this->showContentBlock();
|
$this->showContentBlock();
|
||||||
Event::handle('EndShowContentBlock', array($this));
|
Event::handle('EndShowContentBlock', array($this));
|
||||||
|
Loading…
Reference in New Issue
Block a user