Add tab to contact detail
This commit is contained in:
parent
b6a399df1a
commit
135601c0dc
|
@ -30,6 +30,13 @@ class ShowController extends Controller
|
||||||
{
|
{
|
||||||
$contactName = $this->params->getRequired('contact_name');
|
$contactName = $this->params->getRequired('contact_name');
|
||||||
|
|
||||||
|
$this->getTabs()->add('contact-detail', [
|
||||||
|
'title' => $this->translate('Contact details'),
|
||||||
|
'label' => $this->translate('Contact'),
|
||||||
|
'url' => Url::fromRequest(),
|
||||||
|
'active' => true
|
||||||
|
]);
|
||||||
|
|
||||||
$query = $this->backend->select()->from('contact', array(
|
$query = $this->backend->select()->from('contact', array(
|
||||||
'contact_name',
|
'contact_name',
|
||||||
'contact_id',
|
'contact_id',
|
||||||
|
|
Loading…
Reference in New Issue