Réal Charlebois Posted November 11, 2008 Report Share Posted November 11, 2008 Here is a small piece of code I put together to add a Map tab to the Ancestors tab for an individual. It will create a map for all of the ancestors that have geo-points for where they were born. married, burried, etc. You can check my site www.charleboiseries.ca (search for Ovila Charlebois born in 1880 and display the Map under his Ancestors to get a glimpse at what this looks like).I stole a significant amount of code from Darrin to build this ... I hope this is ok with you Darrin !!!!First add mappedigree.php to your main folderthe do the following modifications:Add: $text['ancestorsmap'] = "Carte"; (or “Map”) to all your cust_text.php filesAdd the following line:$mappedigree_url = getURL( "mappedigree", 1 );To pedigree.php at line 30To pedigreetext.php at line 24To ahnentafel.php at line 22To extratrees.php at line 18Add the following line:$innermenu .= " | <a href=\"$mappedigree_url" . "personID=$personID&tree=$tree&parentset=$parentset&generations=$generations\" class=\"lightlink\" id=\"maplnk\">$text[ancestorsmap]</a>\n";To pedigree.php at new line 448To pedigreetext.php at new line 294To ahnentafel.php at new line 83To extratrees.php at new line 167This code is not perfect, but it does a decent job.mappedigree.php Quote Link to comment Share on other sites More sharing options...
jgrantham Posted June 15, 2009 Report Share Posted June 15, 2009 Does this work in 7.1? I can't get it to work.Here is a small piece of code I put together to add a Map tab to the Ancestors tab for an individual. It will create a map for all of the ancestors that have geo-points for where they were born. married, burried, etc. You can check my site www.charleboiseries.ca (search for Ovila Charlebois born in 1880 and display the Map under his Ancestors to get a glimpse at what this looks like).I stole a significant amount of code from Darrin to build this ... I hope this is ok with you Darrin !!!!First add mappedigree.php to your main folderthe do the following modifications:Add: $text['ancestorsmap'] = "Carte"; (or “Map”) to all your cust_text.php filesAdd the following line:$mappedigree_url = getURL( "mappedigree", 1 );To pedigree.php at line 30To pedigreetext.php at line 24To ahnentafel.php at line 22To extratrees.php at line 18Add the following line:$innermenu .= " | <a href=\"$mappedigree_url" . "personID=$personID&tree=$tree&parentset=$parentset&generations=$generations\" class=\"lightlink\" id=\"maplnk\">$text[ancestorsmap]</a>\n";To pedigree.php at new line 448To pedigreetext.php at new line 294To ahnentafel.php at new line 83To extratrees.php at new line 167This code is not perfect, but it does a decent job. Quote Link to comment Share on other sites More sharing options...
Bruce Roy Posted June 16, 2009 Report Share Posted June 16, 2009 Here is a small piece of code I put together to add a Map tab to the Ancestors tab for an individual. It will create a map for all of the ancestors that have geo-points for where they were born. married, burried, etc. You can check my site www.charleboiseries.ca (search for Ovila Charlebois born in 1880 and display the Map under his Ancestors to get a glimpse at what this looks like).I stole a significant amount of code from Darrin to build this ... I hope this is ok with you Darrin !!!!First add mappedigree.php to your main folderthe do the following modifications:Add: $text['ancestorsmap'] = "Carte"; (or “Map”) to all your cust_text.php filesAdd the following line:$mappedigree_url = getURL( "mappedigree", 1 );To pedigree.php at line 30To pedigreetext.php at line 24To ahnentafel.php at line 22To extratrees.php at line 18Add the following line:$innermenu .= " | <a href=\"$mappedigree_url" . "personID=$personID&tree=$tree&parentset=$parentset&generations=$generations\" class=\"lightlink\" id=\"maplnk\">$text[ancestorsmap]</a>\n";To pedigree.php at new line 448To pedigreetext.php at new line 294To ahnentafel.php at new line 83To extratrees.php at new line 167This code is not perfect, but it does a decent job.Réal, I have had a go at producing a cfg file for installing ancestors map with Mod Manager. Works on my computer. You might like to test and post it to the TNG Wiki site if you're happy with it.Bruce Royancestors_map_V1.0.cfg.txt Quote Link to comment Share on other sites More sharing options...
vectis Posted July 4, 2009 Report Share Posted July 4, 2009 Here is a small piece of code I put together to add a Map tab to the Ancestors tab for an individual. It will create a map for all of the ancestors that have geo-points for where they were born. married, burried, etc. You can check my site www.charleboiseries.ca (search for Ovila Charlebois born in 1880 and display the Map under his Ancestors to get a glimpse at what this looks like).I stole a significant amount of code from Darrin to build this ... I hope this is ok with you Darrin !!!!First add mappedigree.php to your main folderthe do the following modifications:Add: $text['ancestorsmap'] = "Carte"; (or “Map”) to all your cust_text.php filesAdd the following line:$mappedigree_url = getURL( "mappedigree", 1 );To pedigree.php at line 30To pedigreetext.php at line 24To ahnentafel.php at line 22To extratrees.php at line 18Add the following line:$innermenu .= " | <a href=\"$mappedigree_url" . "personID=$personID&tree=$tree&parentset=$parentset&generations=$generations\" class=\"lightlink\" id=\"maplnk\">$text[ancestorsmap]</a>\n";To pedigree.php at new line 448To pedigreetext.php at new line 294To ahnentafel.php at new line 83To extratrees.php at new line 167This code is not perfect, but it does a decent job.RealThanks for this, excellent addition. I was thinking of asking about this myself. I am running 7.0.2 still and I simply followed your instructions and applied the changes - worked first time.Couple of very minor pedantic points:(1) It is extrastree.php that is changed (not extratrees)(2) I found the line number was 169 for the last mod.Takes a bit of time to load when you get to 8 generations but is well worth it, as it gives a very good geographical representation of where your ancestors came from, in my case 8 generations very closely grouped in the sout of England.CheersJon Baker Quote Link to comment Share on other sites More sharing options...
Réal Charlebois Posted August 19, 2009 Author Report Share Posted August 19, 2009 Does this work in 7.1? I can't get it to work.Hi,Sorry for not having responded earlier, my condo burned down and I've been kind'a busy.I just upgraded to 7.1 but I havent yet implemented this function in the new version. I will be looking at that in the next few weeks and I will post the results. I suspect changes will be minir.Réal, I have had a go at producing a cfg file for installing ancestors map with Mod Manager. Works on my computer. You might like to test and post it to the TNG Wiki site if you're happy with it.Bruce Royancestors_map_V1.0.cfg.txtHi Bruce,I'm not familiar with mod manager, but I will look into it ... always willing to learn new tricks ...RealThanks for this, excellent addition. I was thinking of asking about this myself. I am running 7.0.2 still and I simply followed your instructions and applied the changes - worked first time.Couple of very minor pedantic points:(1) It is extrastree.php that is changed (not extratrees)(2) I found the line number was 169 for the last mod.Takes a bit of time to load when you get to 8 generations but is well worth it, as it gives a very good geographical representation of where your ancestors came from, in my case 8 generations very closely grouped in the sout of England.CheersJon BakerPedantic points are always welcome. Sometimes I type these things up a little too fast and dont verify the small details. I'm glad it worked for you. Quote Link to comment Share on other sites More sharing options...
Réal Charlebois Posted August 23, 2009 Author Report Share Posted August 23, 2009 Does this work in 7.1? I can't get it to work.Ok, I installed it on 7.1 and here are the changes required:the do the following modifications:Add: $text['ancestorsmap'] = "Carte"; (or “Map”) to all your cust_text.php filesAdd the following line:$mappedigree_url = getURL( "mappedigree", 1 );To pedigree.php at line 30To pedigreetext.php at line 24To ahnentafel.php at line 22To extrastree.php at line 18Add the following line:$innermenu .= " | <a href=\"$mappedigree_url" . "personID=$personID&tree=$tree&parentset=$parentset&generations=$generations\" class=\"lightlink\" id=\"maplnk\">$text[ancestorsmap]</a>\n";To pedigree.php at new line 452To pedigreetext.php at new line 294To ahnentafel.php at new line 82To extrastree.php at new line 167it works fine for me Quote Link to comment Share on other sites More sharing options...
Steven Posted June 18, 2010 Report Share Posted June 18, 2010 I've had a go at amending this to run under TNG8 and packaging into a mod manager config file.You can see this running on one of my sites at http://www.stevenwillingale.com/tng/mapped...p;generations=4It would be help if someone could check this runs OK on their setup, before I add details to the Wiki etcCheersStevenEDIT : See post below for final CFG file Quote Link to comment Share on other sites More sharing options...
bsl20b50 Posted June 18, 2010 Report Share Posted June 18, 2010 Steven,Kind of funny to see this posted; I just updated the same mod to use on my own site this morning. Our changes are only slightly different (it looks like the insertion point is slightly different - causing the location of the link to the ancestor map to vary from yours to mine). I followed what the original mod author did, but it looks like they both work just fine.Here is a zip file with your version and mine. ancestor_map_v8.1.0.zip. I noticed couple of other minor differences (which don't affect the function). When I looked at yours, the characters of the original author's name were changed, and the version number was not updated within the file.Cheers,BryanI've had a go at amending this to run under TNG8 and packaging into a mod manager config file.You can see this running on one of my sites at http://www.stevenwillingale.com/tng/mapped...p;generations=4It would be help if someone could check this runs OK on their setup, before I add details to the Wiki etcCheersSteven Quote Link to comment Share on other sites More sharing options...
Steven Posted June 27, 2010 Report Share Posted June 27, 2010 Here is the final ancestors map cfg file for TNG8 using Bryan's version of the files, with one small change to copy the file mappedigree.php file to the TNG folder.ancestors_map_v8.1.0.zip Quote Link to comment Share on other sites More sharing options...
majdan Posted July 1, 2010 Report Share Posted July 1, 2010 Installed it on my site without a hitch! Looks good.http://family.themajdans.com/mappedigree.p...p;generations=4 Quote Link to comment Share on other sites More sharing options...
Ryan C. Minnig Posted September 21, 2010 Report Share Posted September 21, 2010 Kudos for the very cool map addon. :) Quote Link to comment Share on other sites More sharing options...
Jay Wilpolt Posted September 22, 2010 Report Share Posted September 22, 2010 Here is the final ancestors map cfg file for TNG8 using Bryan's version of the files, with one small change to copy the file mappedigree.php file to the TNG folder.Steve, No luck for me installing this... In the Mod Manager it seemed to think all was well.... install says it went ok....but then when I go to look, there is no Map link in the ancestors inner menu?Looking at the raw config file it looks rather shorter than I expected.Jay www.1familytree.com/genealogy/ Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted September 22, 2010 Report Share Posted September 22, 2010 Steve, No luck for me installing this... In the Mod Manager it seemed to think all was well.... install says it went ok....but then when I go to look, there is no Map link in the ancestors inner menu?Looking at the raw config file it looks rather shorter than I expected.Jay www.1familytree.com/genealogy/Jay,Did you use the Mod Manager file from the TNG Wiki article - Ancestor Map or the one from Steve's site?Ken Quote Link to comment Share on other sites More sharing options...
july1962 Posted September 29, 2010 Report Share Posted September 29, 2010 I love this map! Question, though...I installed it in my tree some time ago and when I go to a person's page, the map shows up in "map" view instead of "satellite" view....which I prefer. Then I installed it in a friend's tree and it always comes up in "satellite" view by default?Is there a way to choose which way it appears? Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted September 29, 2010 Report Share Posted September 29, 2010 I love this map! Question, though...I installed it in my tree some time ago and when I go to a person's page, the map shows up in "map" view instead of "satellite" view....which I prefer. Then I installed it in a friend's tree and it always comes up in "satellite" view by default?Is there a way to choose which way it appears?Look at Google Maps - Getting Started on the TNG Wiki. The change can be made in Map Settings in Admin >> Setup. Quote Link to comment Share on other sites More sharing options...
marcombv Posted July 5, 2011 Report Share Posted July 5, 2011 I just installed the mod, and it looks great!But I can see the map only on my laptop with Win XP and IE8.On my desktop machine with Win 7 64 bit and IE8 I don't see the link to the map.I have also tried Mozilla and there is also no link?Anyone a suggestion?Problem solved, i changed the language from Dutch to English and back and the map was there! :lol: Quote Link to comment Share on other sites More sharing options...
Jeremytf Posted July 27, 2011 Report Share Posted July 27, 2011 Hello! Thanks to everyone who has helped to get this put together. I am pretty sure I have done all the steps but the map is not showing up. The link does show up. I uploaded the Mod Manager file and installed, which seemed to work fine.I got a key from Google (for http://genealogy.the-franklins.net), pasted that into the Map Settings, and saved. The map link shows up under Ancestors but nothing below it. I am using TNG 8.1.1 - perhaps that is why? Any suggestions?'EDIT:Oops, I think I answered my own question, because now I see revised versions here: http://tng.lythgoes.net/wiki/index.php?title=Ancestor_mapRather than the one in this thread. Thanks, all. Quote Link to comment Share on other sites More sharing options...
Jeremytf Posted July 27, 2011 Report Share Posted July 27, 2011 Now that I have looked into this farther, I realized from this page (Ancestor map) that geocoded places are required in my TNG database for the Google mapping to work. I have 3000 locations, so manually going to each one in the TNG admin interface and searching for the lat/long coordinates is not a fun concept. I am using Family Tree Maker for my master database and have the locations pretty well cleaned up. FTM does map the locations to include lat/long within my FTM database, but apparently there is no way to maintain that data when exporting to GEDCOM 5.5 for uploading to TNG! I didn't realize the GEDCOM 5.5 format was so outdated (1996!) until now. How frustrating. In searching the forum here, I see some folks talking about scripts to automate the geocode searching within TNG. Is that my best option here? I am not missing something obvious, am I? Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted July 28, 2011 Report Share Posted July 28, 2011 Now that I have looked into this farther, I realized from this page (Ancestor map) that geocoded places are required in my TNG database for the Google mapping to work. I have 3000 locations, so manually going to each one in the TNG admin interface and searching for the lat/long coordinates is not a fun concept. I am using Family Tree Maker for my master database and have the locations pretty well cleaned up. FTM does map the locations to include lat/long within my FTM database, but apparently there is no way to maintain that data when exporting to GEDCOM 5.5 for uploading to TNG! I didn't realize the GEDCOM 5.5 format was so outdated (1996!) until now. How frustrating. In searching the forum here, I see some folks talking about scripts to automate the geocode searching within TNG. Is that my best option here? I am not missing something obvious, am I?You could check whether RootsMagic Essential (the free version of RootsMagic 4) provides the capability to export the geocoded places. I used RootsMagic 4 to code a large number of my locations, but I don't know if that function is disabled in the free version. Quote Link to comment Share on other sites More sharing options...
Rikke Fjordbak Ravn Posted October 28, 2011 Report Share Posted October 28, 2011 Here is the final ancestors map cfg file for TNG8 using Bryan's version of the files, with one small change to copy the file mappedigree.php file to the TNG folder.Is there a version available that is compatible with TNG 8.1.3?I have tried the two versions available at http://tng.lythgoes.net/wiki/index.php?title=Ancestor_map but neither of them worked.Rikke Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted October 28, 2011 Report Share Posted October 28, 2011 Is there a version available that is compatible with TNG 8.1.3?I have tried the two versions available at http://tng.lythgoes.net/wiki/index.php?title=Ancestor_map but neither of them worked.RikkeRikke,I am currently using the Ancestor map (ancestors_map_v8.1.2.cfg) on my TNG 8.1.3 site, so you will need to provide a bit more information than neither of them worked.Since I am also running the Google Maps More Place Levels mod, I also install a place level modification to the Ancestor map Quote Link to comment Share on other sites More sharing options...
theKiwi Posted October 28, 2011 Report Share Posted October 28, 2011 Is there a version available that is compatible with TNG 8.1.3?I have tried the two versions available at http://tng.lythgoes.net/wiki/index.php?title=Ancestor_map but neither of them worked.The 8.1.2 version from the Wiki is working OK on my sitehttp://roger.lisaandroger.com/getperson.ph...&tree=Rogerfor example.Roger Quote Link to comment Share on other sites More sharing options...
Rikke Fjordbak Ravn Posted October 30, 2011 Report Share Posted October 30, 2011 Rikke,I am currently using the Ancestor map (ancestors_map_v8.1.2.cfg) on my TNG 8.1.3 site, so you will need to provide a bit more information than neither of them worked.Since I am also running the Google Maps More Place Levels mod, I also install a place level modification to the Ancestor mapKen,This is what I did:Downloaded the ancestors_map_v8.1.2.zip from http://tng.lythgoes.net/wiki/index.php?title=Ancestor_mapUploaded the ancestors_map_v8.1.2.cfg file to the mods folderInstalled the cfg file from the MOD managerStatus after installation:pedigree.php: Location1: Installedpedigree.php: Location2: Installedpedigreetext.php: Location1: Installedpedigreetext.php: Location2: Installedahnentafel.php: Location1: Installedahnentafel.php: Location2: Installedextrastree.php: Location1: Installedextrastree.php: Location2: Installedlanguages/English/cust_text.php: Location1: Installedlanguages/English-UTF8/cust_text.php: Location1: Not installedmappedigree.php V8.1.1 Not installedNot all sections installedI can see that both cust_text.php files has been edited at the time of installation.What am I doing wrong?Thank you for your help.Rikke Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted October 30, 2011 Report Share Posted October 30, 2011 Ken,This is what I did:Downloaded the ancestors_map_v8.1.2.zip from http://tng.lythgoes.net/wiki/index.php?title=Ancestor_mapUploaded the ancestors_map_v8.1.2.cfg file to the mods folderInstalled the cfg file from the MOD managerStatus after installation:pedigree.php: Location1: Installedpedigree.php: Location2: Installedpedigreetext.php: Location1: Installedpedigreetext.php: Location2: Installedahnentafel.php: Location1: Installedahnentafel.php: Location2: Installedextrastree.php: Location1: Installedextrastree.php: Location2: Installedlanguages/English/cust_text.php: Location1: Installedlanguages/English-UTF8/cust_text.php: Location1: Not installedmappedigree.php V8.1.1 Not installedNot all sections installedI can see that both cust_text.php files has been edited at the time of installation.What am I doing wrong?Thank you for your help.RikkeRikke,I don't see that you are doing anything wrong. What is the URL for your site? If you want to send me credentials for Admin and FTP access to your site to my web site email address -- ken at royandboucher.com I can take a look. Don't post the access credentials here. Quote Link to comment Share on other sites More sharing options...
Rikke Fjordbak Ravn Posted October 30, 2011 Report Share Posted October 30, 2011 Rikke,I don't see that you are doing anything wrong. What is the URL for your site? If you want to send me credentials for Admin and FTP access to your site to my web site email address -- ken at royandboucher.com I can take a look. Don't post the access credentials here.With the help from Ken, the map is now showing on my site. Thank you Rikke Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.