I want to install a link in the body of my "about" page that will take clickers to another website. How do I do this? I know this is probably pretty basic but my web designer passed away and I'm now on my own. Thanks.

Comments

bwv’s picture

You can use simple html:

<a href="externalsite.com">Link name</a>

I think this is what you mean. Correct?
----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://association.drupal.org/user/1207

donnapenn’s picture

I tried the above and it went to "page not found" within my site.

zareen’s picture

have to have the http://and full url for it to go to another site.

Steve Halleman’s picture

If you have a WYSIWYG editor installed you should see icons on the top of the body field of the page when you edit it. The link icon looks like a globe with 2 links of a chain. Copy the URL of the page you want to send users to and paste it into the URL field.

If you are looking strickly at text you can put in something like <a href="http://www.example.com">Click to go to...</a>

Steve Halleman

thomjjames’s picture

Hi,

Yeh thats the way to go, if you want them to open in a new window add target="_blank" to the link code but if you want it to validate you can use abit of jquery can open all absolute links in a new window:

//open absolute links in new windows
$('a[href^="http://"]').attr("target", "_blank"); 

Might be useful to you
Tom
______________________________________________
http://drupalsn.com/user/thomjjames

______________________________________________
https://tomswebstuff.com

donnapenn’s picture

where precisely do I add: target="_blank"
To the end of the string?

donnapenn’s picture

yes, I would love the link to open in a new page. Where do I add the string you list above?

donnapenn’s picture

Ahhhh,, I messed around and finally got it working just the way I wanted. You guys are the best. Thanks so very much for all your help and for not making me feel too stupid. All the best!

donnapenn’s picture

ah, I got it this time. Thanks, Steve.

thomjjames’s picture

Hi,

Looks like you cracked it, but here's the full link if anyone else needs it (sorry should have put it in from the start):

<a href="http://www.example.com" target="_blank">Click to go to...</a>

Tom
______________________________________________
What is DrupalSN.com? - http://drupalsn.com

______________________________________________
https://tomswebstuff.com

sudankharel’s picture

use this type of simple html  

<a href="http://www.bishwaghatana.com" target="_blank">Click to go here</a>
aminolmolk’s picture