11

My company does not make use of many of the fields provided by civicrm. Our users told me the sheer mass of empty fields is overwhelming them.

I know I could walk the hide-by-jquery-to-death way, but:

Is there a designated or recommended way to disable or hide civi core fields like "nickname" or "legal_name"?

  • Now 2018, going into 2019, still no answer on that feature? – Bruno Vincent Jul 21 '18 at 2:37
  • civicrm is largely built by the community - if the community have not provided a feature you want then perhaps not many folk are fussed enough to put together a solution. Hmm just remembered about the new extension so have added an answer – petednz - fuzion Jul 21 '18 at 4:31
4

The "hide-by-jquery-to-death" way is the way to go for now. (Great name :) )

There are discussions to do that via the web interface in a future version, but that's not there yet.

  • Yap. I'm afraid, you're right. – nielo Feb 9 '16 at 13:14
10

You can hide some of them via the UI at Administer > Customize Data and Screens > Display Preferences

e.g. http://d46.demo.civicrm.org/civicrm/admin/setting/preferences/display?reset=1

Display Preferences

3

I believe you can create a modified version of the default contact page templates as described here.

Excerpt from that page:

These steps are for any "built-in" screen (e.g. the Contact Summary screen)...

  • Navigate to the screen you want to customize and use your browser to View Source.
  • Search for ".tpl" in the source. You will find a comment line which gives you the path and name of the template used for the screen you are viewing.

<!-- .tpl file invoked: CRM/Contact/Page/View/Summary.tpl. Call via form.tpl if we have a form in the page. -->

  • Locate this file on your server under your ../civicrm/templates path. Make a copy of file in the equivalent path under your new custom templates directory.

  • Edit the file as needed and save.

  • Then clean-up the compiled templates directory, usually by deleting all the directories under your templates_c directory. You can also do the cleanup by enabling CiviCRM debugging and running the directory cleanup command. (NOTE: You do NOT need to delete the standard version of the template from your main CiviCRM codebase. CiviCRM will look for a customized version first, and use that one if found.)
  • You should see your modified version when you reload the CiviCRM screen. If you need help with the templating language, check out the Smarty Documentation
  • Thanks. Maybe I'll do this at some places but because those fields happen to be displayed in various contexts I hope with js/jquery I'll be able to catch some more occurences in a single place. – nielo Feb 9 '16 at 13:14
3

The new Extension called Contact Summary Layout Editor is a new tool that may help folk dealing with this type of problem

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.