Suffix field for individuals

roydean - July 9, 2009 - 04:37
Project:Family Tree 2
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

What was the plan for handling suffixes for individuals? If nothing, can a field with dropdown suffix options be added to the table and forms? The field should be a free text entry field to begin with and then change to a dropdown with distinct suffix options pulled from the individual records already entered.

#1

Microbe - July 9, 2009 - 15:58

Suffixes will be included in the next version of family tree (coming soon to a Drupal site near you). This will definitely include a text box for suffixes and prefixes as well as lots of small bug fixes and full support of tokens. It should also include full integration with GEDCOM, which isn't quite finished yet i dont think as we are waiting for a new api module GEDrupal to be released.

I will see if I can sort out a dev version of the new release you can use.

Peter

#2

roydean - July 9, 2009 - 23:10

Microbe - I will see if I can sort out a dev version of the new release you can use.

That would be pretty awesome! I started adding data and noticed that the edit form is still blank even though it appears to save an individual's record. Is that one of the bugs?

BTW, I am veerrrrrryyyy glad to see you are still working on this. I have looked at a ton of genealogy scripts and site offerings and look forward to jumping right in. I am not sure if the site I have in mind will ever compete with ancestry or myheritage, but who knows. I do plan to always keep it free and ad free as well. We will see.

AND, thank you for your contributions!

#3

Microbe - July 9, 2009 - 23:21

I have zipped a dev of the new release as far as we got in April. It should work without GEDrupal API but I haven't tested it and can't remember exactly how its setup. As the new release uses only GEDrupal for GEDCOM information there is no GEDCOM support in this dev version.

Any problems with it just post,
Peter

AttachmentSize
family.zip 57.31 KB

#4

roydean - July 10, 2009 - 10:07

I got this message when I saved an individual, both before and after installing your .zip files.

user warning: Incorrect datetime value: '' for column 'deathdate' at row 1 query: INSERT INTO lei_family_individual (vid, nid, title_format, firstname, lastname, prefix, suffix, gender, birthdate, birthplace, deathdate, deathplace, ancestor_group, adopted_group) VALUES (2, 2, 'Smith , Pamela Jo: 1961-', 'Pamela Jo', 'Smith', '', '', 'F', '1961-05-30', 'El Paso, TX', '', '', '', '') in M:\webs\family\sites\all\modules\family\individual.inc on line 173.

And the date fields still display as empty or blank.

#5

Microbe - July 10, 2009 - 13:00

I do not get this message but i can see why you might be getting it. Do get two messages when also leaving the birth date blank if so the error is related to how your database is setup. You should not need to change this though so I have updated the module.

New zipped file should sort out the problem.

AttachmentSize
family.zip 57.4 KB

#6

Microbe - July 10, 2009 - 13:00

I do not get this message but i can see why you might be getting it. Do get two messages when also leaving the birth date blank if so the error is related to how your database is setup. You should not need to change this though so I have updated the module.

New zipped file should sort out the problem.

AttachmentSize
family.zip 57.4 KB

#7

roydean - July 10, 2009 - 20:31

Ok, I have data on the pages and seems like things are working pretty well. Thank you.

#8

elfur - August 17, 2009 - 15:33

Microbe,

as I had already implemented the changes you made up to the point discussed in this issue:
http://drupal.org/node/348324#comment-1161962

I'm a bit confused as to what more changes you've made to the module. What is the difference between the zip file you posted there and the one you're posting here.

I have had to make my own "hacks" on the module and therefore am not able to just replace the folder.

Thanks for all your work,

elfur.

#9

Microbe - August 17, 2009 - 20:59

There are quite a few changes mainly just to the internal structure of things. GEDCOM import/export uses external module, still to be released. Tokens fully implemented so titles use tokens and value are available to the body/biography of a page. These are just added hooks in the bottom of family.module and extra field on the settings page also in the family.module file at the bottom. can't remember if the top of the file has changed as it was about February when I made the changes but i think it probably did a bit, most likely the menu hook.

Other changes are extra fields for suffix's and prefix's of names which may cause errors in some of the tokens hooks if you dont add but those lines can just be erased easily.

I think there are all the major changes.
Peter

#10

elfur - August 19, 2009 - 00:52

Microbe,

"I think there are all the major changes."

I'm not challenging that, was just wondering how to conduct my work, whether to replace and rebuild my changes or wade through the files looking for your changes and insert into mine. Obviously, inspection is needed to make that decision.

thanks
Elfur

 
 

Drupal is a registered trademark of Dries Buytaert.