Jump to content
TNG Community
Sign in to follow this  
Torben Aastrup

Links to documents outside TNG

Recommended Posts

Torben Aastrup

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)

Share this post


Link to post
Share on other sites
FettesI

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

Share this post


Link to post
Share on other sites
Torben Aastrup

Links to documents outside TNG

Thanks 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 = histories

Photos Path = photos

Now you would have:

Root Path = /mysite

Histories Path = /althistoriespath

Photos 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.

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
Sign in to follow this  

×