CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Change Contact details input fields
Pages: [1]

Author Topic: Change Contact details input fields  (Read 823 times)

markjohan

  • I post occasionally
  • **
  • Posts: 102
  • Karma: 0
  • ..
  • CiviCRM version: 4.4.2
  • CMS version: Wordpress 3.6.1
  • MySQL version: 5.1.66-0+squeeze1
  • PHP version: 5.3.27
Change Contact details input fields
October 22, 2013, 01:20:25 am
Hello,

Is it possible to disable / not visible fields for Employer etc? Also not visible at the Summary. I don't use this. (Employer, Job Title, Nickname, Source)

Thanks

sushant

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 8
  • CiviCRM version: v3.2.x,v3.3.x v4.0.x, v4.x,trunk
  • CMS version: Drupal 6/7 ,joomla 1.5,1.6
  • MySQL version: 5.1.51
  • PHP version: 5.3.3
Re: Change Contact details input fields
October 22, 2013, 02:03:10 am
You have  to create  custom .tpl file in your custom templates directory. You can find more info here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in%2C+Profile%2C+Contribution+and+Event+Registration+Screens

https://civicrm.org/blogs/dave-greenberg/now-its-easier-add-custom-behaviors-templates

S.
CiviCRM Priority Support
http://support.civigardens.com/
http://osseed.com

markjohan

  • I post occasionally
  • **
  • Posts: 102
  • Karma: 0
  • ..
  • CiviCRM version: 4.4.2
  • CMS version: Wordpress 3.6.1
  • MySQL version: 5.1.66-0+squeeze1
  • PHP version: 5.3.27
Re: Change Contact details input fields
October 22, 2013, 04:43:18 am
Hello S.

If i have it right,

I make a directory for template files,
i change the template directory in the system settings
i copy the summary.tpl and edit this file in the template directory

When i do this, nothing happend.

Can you explain me something with a example. I want to hide the Employer fields.

Thans

sushant

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 8
  • CiviCRM version: v3.2.x,v3.3.x v4.0.x, v4.x,trunk
  • CMS version: Drupal 6/7 ,joomla 1.5,1.6
  • MySQL version: 5.1.51
  • PHP version: 5.3.3
Re: Change Contact details input fields
October 22, 2013, 07:18:39 am

Below are the steps :
1) Create the custom template directory.
2) Set the path of custom directory in CiviCRM.
3) Copy the files you want to modify ( eg. if you want to modify  civicrm/templates/CRM/Contact/Page/View/Summary.tpl than copy the file in CUSTOM_DIRECTORY_PATH/CRM/Contact/Page/View/Summary.tpl . you need to copy files in the same directory structure as in core CiviCRM )

Its done !

If you still not able to see the changes you have made in template , check your directory path OR try deleting files under sites/default/files/civicrm/templates_c.

S.

CiviCRM Priority Support
http://support.civigardens.com/
http://osseed.com

markjohan

  • I post occasionally
  • **
  • Posts: 102
  • Karma: 0
  • ..
  • CiviCRM version: 4.4.2
  • CMS version: Wordpress 3.6.1
  • MySQL version: 5.1.66-0+squeeze1
  • PHP version: 5.3.27
Re: Change Contact details input fields
October 22, 2013, 11:22:59 am
Thank you S.!

I did kopie the php file instead of the tpl


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Change Contact details input fields

This forum was archived on 2017-11-26.