Forums / Setup & design / hyperlink to external website in xml text field

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

hyperlink to external website in xml text field

Author Message

Jimmy Hansson

Monday 29 March 2004 5:14:10 am

I've been trying to find an answer to this question by searching the site but with no luck, so here I go.

I want to be able to put links to external sites in my articles, by using a simple <a href> tag. So I type in for example:

<a href="www.whatever.com">Link name</a>

and ez remakes it to

<link href='www.whatever.com'>Link name</link>

the problem is that it's being linked like this:

http://host/index.php/mysite/www.whatever.com

So what am I doing wrong here? I have the latest installement of Exponential 3.
also I can't get the classes to work with the link if I put in class="something" inside the <a> or link tag... seems like alot of people would have this problem or maybe I'm just doing it completely wrong.

Kåre Køhler Høvik

Monday 29 March 2004 6:19:04 am

Put http:// in front of your urls for external links.

--
Kåre Høvik

Kåre Høvik