Torben Aastrup Posted July 22, 2004 Report Share Posted July 22, 2004 How can I add a new history and link the document outside the histories folder (to a folder outside the TNG environment)?(I can make a link to a subfolder under the histories-folder) Quote Link to comment Share on other sites More sharing options...
FettesI Posted August 1, 2004 Report Share Posted August 1, 2004 I add html links to the Histories and Documents section by creating a simple html file with content as per the following example:<head><META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://freepages.genealogy.rootsweb.com/~fettesi/unique.htm"></head>In this case I called the file 172a.html and I include the following words in the Notes field for the item in the Histories and Documents:Use your browser back button to return from this linked site Hope this help you.Ian Fettes Quote Link to comment Share on other sites More sharing options...
Torben Aastrup Posted August 5, 2004 Author Report Share Posted August 5, 2004 Links to documents outside TNGThanks for the advise.I have now three different ways to make links to document outside the Histories-folder in TNG:A. Link to a site on the whole internet (by Ian Fettes):Make a simple html-file with this content:<html><head> <META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://theinternetaddress"> </head> </html>Save the file as xyz.html and upload this file to the Histories-(sub)folder. Then attache the file to your ancestor(s), as described in this folder.You can make a little note describing the link and the following advise:”Use your browser back button to return from this linked site”B. Link to files on your own site (by Darrin Lythgoe):You have to expand your "histories" area to include more. For example, you could do this:1. Change your Root Path to point to the root of your web site instead of the TNG folder. Also, remove the ending slash.2. Change the Histories path to include a leading slash, plus the path where the histories are located.3. Change all other paths (photos, backups, etc.) to include a leading slash, plus the TNG folder, plus the photos folder name. So, you may have had this before:Root Path = /mysite/genealogy/Histories Path = historiesPhotos Path = photosNow you would have:Root Path = /mysiteHistories Path = /althistoriespathPhotos Path = /genealogy/photos[New Root Path: /customers/mysite/mysite/httpd.www Note that the trailing slash has been removed.]But by this way you cannot link to histories outside of your own web site.Darrin highly recommend that you upgrade to 4.1.1 before trying that, however, as the bug (losing your settings when changing the root path) was fixed in that release.C. Link to files on your own site (by Torben Aastrup): You can attache a file elsewhere in another folder on your own site making a relative address to the filename in the Add New Histories section:../../folder1/folder2/The whole path will be as follow: ../../folder1/folder2/filename.htm(../ goes up from the Histories-folder, ../ goes further up to the root of your site, /folder1 goes down to this folder and so on)You will have to know the folder- and filename, you cannot browse in this way. 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.