Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Hyperlink Manager


  • Please log in to reply
8 replies to this topic

#1 Sunflower1

Sunflower1

  • Members
  • 94 posts
  • OFFLINE
  •  
  • Local time:09:12 PM

Posted 22 April 2009 - 08:26 PM

:thumbsup: I'm trying to put PDF files on a website as hyperlinks. Problem is, I"m using hyperlink manager. I don't see how to create links for my files. Can you help?

BC AdBot (Login to Remove)

 


#2 Romeo29

Romeo29

    Learning To Bleep


  • BC Advisor
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:08:12 PM

Posted 22 April 2009 - 09:26 PM

To create hyperlink in HTML you use <A> tag (called anchor tag)

The general syntax is :
<a href=URL>DISPLAY TEXT</a>

where URL is the relative or full path of the file or address being linked. And DISPLAY TEXT is whatever is displayed on your html page in blue color and underline.

For example, in the following link
Google

URL = http://www.google.com and DISPLAY TEXT = Google

URL can be relative or full path to the file. If the file exists in the same folder as your HTML file, then it can be simply the name of the file like:
<a href="myfile.pdf">Download</a>

If file exists in some other folder you can use a relative path like:
<a href="/downloads/myfile.pdf">Download</a>

Or a full path complete with domain name like:
<a href="http://www.google.com/downloads/myfile.pdf">Download</a>

You can find more information here: http://www.w3schools.com/HTML/html_links.asp

#3 Sunflower1

Sunflower1
  • Topic Starter

  • Members
  • 94 posts
  • OFFLINE
  •  
  • Local time:09:12 PM

Posted 23 April 2009 - 10:35 AM

In hyperlink, the url starts with - file://

Does it work the same when I have to start the URL with file://?

#4 Romeo29

Romeo29

    Learning To Bleep


  • BC Advisor
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:08:12 PM

Posted 23 April 2009 - 11:54 AM

file:// is used for files stored on local computer or local network. This does not work in world wide web.

the general syntax is:
<a href="file://HOST/URL>Download</a>

where HOST is domain name of the computer on the network. You can skip this if the file is on the local computer itself
On Windows drive : is replaced by | and is prefixed by an extra slash /
URL is full path of the file name

For example,
<a href="file:///c|/autoexec.bat">This is on local computer</a>


If you are getting this file:// in your hyperlinks, I guess you are designing webpage on your local computer. You need to change the url to reflect the relative path of the files on the website.

Edited by Romeo29, 23 April 2009 - 11:55 AM.


#5 Sunflower1

Sunflower1
  • Topic Starter

  • Members
  • 94 posts
  • OFFLINE
  •  
  • Local time:09:12 PM

Posted 23 April 2009 - 12:56 PM

It's not working. I'm getting a "page not found" error message.

Here is a picture of the dialog box that I'm working in

Posted Image

#6 Romeo29

Romeo29

    Learning To Bleep


  • BC Advisor
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:08:12 PM

Posted 23 April 2009 - 04:39 PM

So you are using some kind of CMS for putting a PDF link.

You need to first upload files using Resource Manager and then use Document Manager to link them.

http://www.middlebury.edu/academics/lis/he...esourcemanager/
http://www.middlebury.edu/academics/lis/he...xt/document.htm

#7 Sunflower1

Sunflower1
  • Topic Starter

  • Members
  • 94 posts
  • OFFLINE
  •  
  • Local time:09:12 PM

Posted 28 April 2009 - 03:35 PM

Thanks. I will try this, then I'lll let you know how it works out

#8 Sunflower1

Sunflower1
  • Topic Starter

  • Members
  • 94 posts
  • OFFLINE
  •  
  • Local time:09:12 PM

Posted 04 May 2009 - 10:22 AM

Problem Solved, Thanks you

#9 Romeo29

Romeo29

    Learning To Bleep


  • BC Advisor
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:08:12 PM

Posted 04 May 2009 - 12:15 PM

You're welcome Lena :thumbsup:

Edited by Romeo29, 04 May 2009 - 12:15 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users