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
|
||||
- $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()
|
||||
{
|
||||
$this->elementStart('div', array('id' => 'core'));
|
||||
if (Event::handle('StartShowLocalNavBlock', array($this))) {
|
||||
$this->showLocalNavBlock();
|
||||
Event::handle('EndShowLocalNavBlock', array($this));
|
||||
}
|
||||
if (Event::handle('StartShowContentBlock', array($this))) {
|
||||
$this->showContentBlock();
|
||||
Event::handle('EndShowContentBlock', array($this));
|
||||
|
|
Loading…
Reference in New Issue
Block a user