Body: <p>What is a correct way of whole Contact Actions menu ( this ones: <a href="http://awesomescreenshot.com/0cb5hmnb6e" rel="nofollow">http://awesomescreenshot.com/0cb5hmnb6e</a> ) disable ? </p>
  
  <ul>
  <li><strong>hook_civicrm_summaryActions</strong> ( <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_summaryActions" rel="nofollow">http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_summaryActions</a>  ) doesn't remove whole thing;</li>
  <li>altering templates/CRM/Contact/Page/View/Summary.tpl seems to be a
  bit overwhelming; </li>
  <li>hiding it via CSS doesn't seems like a good idea either.</li>
  </ul>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-16T23:39:28.180Z
Comments.Text: If CSS isn't a good idea (I'm curious why?), you could remove it from the DOM with jQuery .remove(), but perhaps a bigger question is why are you trying to hide those actions?  Not wanting certain users to do things?  Is this ultimately a permission issue?
Comments.UserDisplayName: Allen Hutchison
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-17T09:48:03.800Z
Comments.Text: Thanks Allen;DOM manipulations via CSS/jQuery is good as a "last resort", because, for example, of easy elements "unhide". As for purposes: exactly certain users shouldn't be able to see list of available actions, because it scares them. Ideally it should be two buttons: "View Contact details" / "Add new Member". Can't use permissions unfortunately, since we use Relationships mostly and there are always issues..
Comments.UserDisplayName: yurg
Tags: <developer><menu>
Title: Remove Contact Actions links (hook_civicrm_summaryActions or CRM/Contact/Page/View/Summary.tpl)
ThreadText: # Remove Contact Actions links (hook_civicrm_summaryActions or CRM/Contact/Page/View/Summary.tpl)
  
  (Asked by: username_0 on 2015-12-16)
  
  What is a correct way of whole Contact Actions menu ( this ones: <http://awesomescreenshot.com/0cb5hmnb6e> ) disable ?
  
  * **hook\_civicrm\_summaryActions** ( <http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_summaryActions> ) doesn't remove whole thing;
  * altering templates/CRM/Contact/Page/View/Summary.tpl seems to be a
    bit overwhelming;
  * hiding it via CSS doesn't seems like a good idea either.
  
  **Tags:** developer, menu
  
  > **Comments:**
  > **username_1**: If CSS isn't a good idea (I'm curious why?), you could remove it from the DOM with jQuery .remove(), but perhaps a bigger question is why are you trying to hide those actions?  Not wanting certain users to do things?  Is this ultimately a permission issue?  
  > **username_0**: Thanks Allen;DOM manipulations via CSS/jQuery is good as a "last resort", because, for example, of easy elements "unhide". As for purposes: exactly certain users shouldn't be able to see list of available actions, because it scares them. Ideally it should be two buttons: "View Contact details" / "Add new Member". Can't use permissions unfortunately, since we use Relationships mostly and there are always issues..  
  
  ---
  
  ## 0 answers
  
  