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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Modification of add contact
Pages: [1] 2

Author Topic: Modification of add contact  (Read 1728 times)

jabirmoolur

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.X
  • CMS version: JOOMLA 1.5
  • MySQL version: 5.X
  • PHP version: 5.1
Modification of add contact
July 23, 2012, 01:36:33 am
How can i disable some fields in add contact (firstname,middlename,lastname.suffix and merge to one field(full name))....?

please anyone help

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Modification of add contact
July 23, 2012, 04:50:49 am
Those fields can't be disabled but you could potentially customize your install using custom templates or jQuery code.

But can you clarify why you need to make such a customization?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

jabirmoolur

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.X
  • CMS version: JOOMLA 1.5
  • MySQL version: 5.X
  • PHP version: 5.1
Re: Modification of add contact
July 23, 2012, 06:33:18 am
please let me know how can achive this...?using templates/jquery

This is for the one of the organization in India where most of the members are from middle class family and most of them confused with several columns(fields) <bcoz in india most of the people identified by one name and cannot differnitiate irstname,lastname,middle name e.t.c> so i want to merge all name coulmns and make it as one field as full name...

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Modification of add contact
July 23, 2012, 06:36:17 am
See Customizing CiviCRM Screens but on the backend you will have to use the existing fields.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Modification of add contact
July 23, 2012, 01:31:29 pm
It sounds like you are wanting to use this for front facing forms. I think you will find working with civi easier if you spend some time on the documentation/book so you understand the basic principles.

In your case I suggest you

Make a Profile

Add in the fields you want to use

Just add in Last Name but rename it to Name

Let people access that profile via your website to add themselves to the DB
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

jabirmoolur

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.X
  • CMS version: JOOMLA 1.5
  • MySQL version: 5.X
  • PHP version: 5.1
Re: Modification of add contact
July 23, 2012, 11:03:39 pm
Thanks for the Reply..

But i explored all the things what we can done using profile....it works fine for frontend...
but at 'addcontact' screen at the civicrm admin will remains the same...
i laso wanted to make changes there also....
so i havent got this solution anywhere without coding...
so wherever i read the information about coding(extending/customization)..everywhere it is written that before starting coding discuss with the community...hence i am writing agin and again...
Thanks...


petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Modification of add contact
July 23, 2012, 11:10:33 pm
Quote from: jabirmoolur on July 23, 2012, 06:33:18 am
Most of them confused with several columns(fields) <bcoz in india most of the people identified by one name and cannot differnitiate irstname,lastname,middle name e.t.c> so i want to merge all name coulmns and make it as one field as full name...
This sounded like you were talking about them filling in the fields. Hence I was pointing to front end solutions
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

jabirmoolur

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.X
  • CMS version: JOOMLA 1.5
  • MySQL version: 5.X
  • PHP version: 5.1
Re: Modification of add contact
July 23, 2012, 11:34:44 pm
ya Thats Ok....Thanks for the solution...
Can u please suggest me from where i can start to customize addcontact screen..?
can u give me some tips and guidelines how to start...since i  don't know the architecture of civi..

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Modification of add contact
July 24, 2012, 01:53:37 am
Out of curiosity, could you explain how names work in India differently? (why the first name/last name split aren't working?)

eg Indira Priyadarshini Gandhi or Manmohan Singh don't "fit" in it?

Customising front end is easy, for the back office, it is more complicated and you will have more work (likely) for the upgrades. It might be easier to train your admin users than modify the screen in the long run

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

jabirmoolur

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.X
  • CMS version: JOOMLA 1.5
  • MySQL version: 5.X
  • PHP version: 5.1
Re: Modification of add contact
July 24, 2012, 02:26:56 am
The Problem is not With Respect to india...
i agree we can split to first name and last name..
but for the organizations(for which i am developing CRM)  paper forms already entered and there is only one colmn as full name(alreday filed paper forms)...

is there any solution by keeping last name and middle name unaffected in backend and altering front end such a way that renaming firstname to full name, and user and admins can see only full name field..

i also want to eliminate suffix.

jabirmoolur

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.X
  • CMS version: JOOMLA 1.5
  • MySQL version: 5.X
  • PHP version: 5.1
Re: Modification of add contact
July 27, 2012, 11:02:19 am
i got the solution to how can i hide last name,middle name,and suffix and renaming firstname to full name...

but now since the pair of firstname and last name is key element(compulsory)
i want to exclude last name from required element..

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Modification of add contact
August 10, 2012, 09:57:05 pm
I think what you're doing is a bad idea... your paper forms have shoddy data, now you will enter it incorrectly into your db. That's going to catch up with you sooner or later.
...just my opinion.
Try asking your question on the new CiviCRM help site.

jabirmoolur

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.X
  • CMS version: JOOMLA 1.5
  • MySQL version: 5.X
  • PHP version: 5.1
Re: Modification of add contact
August 11, 2012, 03:37:05 am
can u suggest me any alternate solution for this problem...
Thank you

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Modification of add contact
August 11, 2012, 04:29:51 am
Doing the split while doing the data entry.

As it's a human being that does fill the data, splitting the name between first and last shouldn't be too complicated and shouldn't take longer than sticking them in the same field

In the odd case where you can't split them, instruct to add "?" as the first name or something that will let you find the contacts that need further check up

Coleman is right, your org will need to clean the data. The more it waits, the more expensive it will be to fix, now is the best time to do it.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

jabirmoolur

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.X
  • CMS version: JOOMLA 1.5
  • MySQL version: 5.X
  • PHP version: 5.1
Re: Modification of add contact
August 11, 2012, 05:16:03 am
Is this is idea i s ok (i know not structered one).....?
i ll hide last name column in the template and using custom coding i ll set lastname to sub-organisation name or region where he belongs to..?

so that i can i can avoid empty last name..

(i dont have a decided plan of to do so...since i know this is very unstructured approach...i need a suggestion if do so...?)

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Modification of add contact

This forum was archived on 2017-11-26.