How hide create button in contacts module?
Create file in \custom\\modules\Contacts\clients\base\views\list-headerpane\list-headerpane.php
and add this:
$viewdefs['Contacts']['base']['view']['list-headerpane'] = array( 'template' => 'headerpane', 'buttons' => array( // array( // 'name' => 'create_button', // 'type' => 'button', // 'label' => 'LBL_CREATE_BUTTON_LABEL', // 'css_class' => 'btn-primary', // 'acl_action' => 'create', // 'route' => array( // 'action'=>'create' // ) // ), array( 'name' => 'sidebar_toggle', 'type' => 'sidebartoggle', ), ), );
Thank you so much!