e107sk.com

Admin UI Title

on Saturday 13 June 2020
comments: 0

 Plugin title for Admin UI

It is done from 2 parts:

$pluginTitle

and menu caption  

'caption'=> _LINKSWAITINGVAL,

Example how to build your own title that looks similar like core one if you want it a different way for edit mode (if edit mode is not in the menu):

public function __construct($request, $response, $params = array()) {

$action = $_GET['action'];
$this->pluginTitle = _WEBLINKSADMIN;
if($action == 'edit') 
{
$this->pluginTitle .= ' <span class="fa fa-angle-double-right e-breadcrumb"></span> '._LINKVALIDATION;
}
parent::__construct($request, $response, $params = array());
}

0 Comments

Other links

Follow us