Jump to content
TNG Community
jeff g

Batch suffix removal from name.........but

Recommended Posts

jeff g

Hi Everyone! :)

I have a suffix situation!

 

Background:

It is necessary for me to unconventional work with the suffix field in my tree.

This pertains to one family name only.

My family lived in the same village for 350 years before immigrating.

1 pair had 3 sons that created 350 years of branches and marriages between the branches

SO

I created a family line code that I can see completely how it follows back,

so the lines don't get tangle, or to figure where new people I find enter the picture.

Parameters:

The suffix box is the only box,

that is consistently there in my workflow,

and transfers well to TNG.

ANCtree==>FTM2019==>Rootsmagic==>TNG

I need to maintain the same workflow as well as the fact ancestry's fields are limited,

so that is why the lineage code is in the suffix field.

 

What I want to do:

I want to batch remove the suffix after the name in the title

BUT

Leave it below the name in the Suffix Data Box.

I have attached a screenshot.

 

I am so happy If anyone can help me solve this!

TNG is my end presentation out to the web.

Thanks for any help,

Jeff :)

suffix question.jpg

Share this post


Link to post
Share on other sites
bhemph

Jeff,
     In globallib.php there is a function getNameUniversal.  In that change the line

$suffix = $row['suffix'];

to

$suffix = "";

and that should drop the suffix only from the name.

Brent

Share this post


Link to post
Share on other sites
jeff g
5 minutes ago, bhemph said:

Jeff,
     In globallib.php there is a function getNameUniversal.  In that change the line


$suffix = $row['suffix'];

to


$suffix = "";

and that should drop the suffix only from the name.

Brent

Brent,

Bless You!

Thank You So Much For the Help!

Inspect tool takes me very long to figure out the root file.

Well appreciated!

Jeff :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×