|
Linking Pages
Here at onison we recognize the importance of hyperlinking within documents, after all what is the point of a web site without its web? As such TAGGON permits full control of the links located within your documents.
Full Paths vs. Relative Paths TAGGON supports two methods of targetting your link to another page, full paths and relative paths.
Full paths refers to the full address of the web page, for example the full path to the current page you are viewing is: http://help.taggon.com/articles/21
Relative paths refer to the shortest path from the current document. The relative path to this document from anywhere on this site is: /articles/21. Note that relative paths only work for internal pages, pages outside of your website will always require a full path.
In general if possible you should use a relative path to refer to a document. This allows you to move your website easily between servers and domains without having to reassign all of your links. For example if you wanted to mirror your site from: www.foobar.com to www.foobar.net then you could just upload your site with relative paths and it should work fine provided all the folders are the same. If however the site was composed of full paths you would have to rename all the links in your site from the .com to the .net. This could be a very time consuming task.
Creating a Link
So now that you understand the difference between full paths and relative paths, lets put this in action. To create a link you must first highlight the text or images that you want to create a link from. Following this you should select the Insert Link icon from the toolbar, or alternatively select Link from the Insert Menu. The Insert Taggon Link dialogue box will appear on the screen. This dialogue allows you to define the requirements for the link you are creating including the Link Type, the Link URL, and the target window.
To try it out please select a page within your site you wish to target. In our case we will be targetting the Create a New Page article. We can surf to it to acquire its full path url address, in this case: http://help.taggon.com/articles/10. If we insert this text directly into the Link URL textbox it will target the page correctly. However in the interest of encouraging better targetting we will demonstrate how to use a relative path instead. The relative path to a URL is always the path following the domain name of your page.
For example in the case we are trying you would type in: /articles/10
When you are ready to create the link click on the Insert Link button to apply the changes to the highlighted text. On publish this link will now target the page you have selected.
Please note that all links by default target the current window, if you wish to target another window you must specify it prior to hitting Insert Link in the Insert Taggon Link dialogue box. The two options for this are popup and customize.
Popup will simply open a new window with the link you provide. This is the most widely supported feature and is not prevented by popup blockers.
The customize feature allows you to control the dimensions of the window that will load the link. Please note that some browsers will block this feature so it may be wise to use the first option if the information provided by the link is critical.
Automatically Generated Links
In addition to creating links with the Insert Taggon Link dialogue box you may also create links through standard typing. These links will not have special titles, instead they will show the address you typed out to the end user. Anytime you write an address that starts with http:// or www the text will be converted into a link for you. For example typing help.taggon.com does not autolink the text. However if I type http://help.taggon.com you will notice that this is now a link. The same goes for taggon.com, typing www.taggon.com also creates a link. In general this is a quick easy method of creating links to pages where you want the user to be able to see where they are going, for example when downloading a plugin, so that should the link be incorrect they can use the text to determine where they should be going instead. |