1
matskm
Re: Problem with external links
  • 2010/5/19 7:51

  • matskm

  • Just popping in

  • Posts: 3

  • Since: 2010/5/18


I should post the code that works. In waku I used:

<p>
<a href="http://www.google.com;">redwood boys </a></p>
</p>

I'm using xemacs here which I'm pretty sure doesn't do anything nasty to the strings in the text file before it saves.

And in Content module I use:

<a href=http://www.google.com> redwood boys </a></p>

Although, something (probably the text editor -- CKeditor in this case) is adding a double quotation mark (") to each end of the tag -- which I discover after I upload the file, and look at it again in xoops.

cheers

Mat



2
matskm
Re: Problem with external links
  • 2010/5/19 7:46

  • matskm

  • Just popping in

  • Posts: 3

  • Since: 2010/5/18


Hi Bandit-X,
You got me on the right track! I was using too many quotation marks. It appears that when I surround something with "..." xoops appends the root url to this string at the front.

So I fiddled with various combinations of \" in waku (just needed one set) and even in content module (or more likely the text editor I'm using for Content module) I didn't need any quotations marks at all!

Should have remembered the vital importance of quotations marks in all markup languages!

Anyway, problem solved - and you got me on the right track.

cheers

Mat



3
matskm
Problem with external links
  • 2010/5/18 18:53

  • matskm

  • Just popping in

  • Posts: 3

  • Since: 2010/5/18


Hi All,
Love using xoops, but am frustrated by one thing: I am trying to make my own html pages (using either Content module or waku). All I want is to have an external link (i.e., the <a> href = ... syntax), but whenever I do this, a part of xoops adds to the link address with the xoops base directory, so that whatever link I do (e.g., www.google.com) is just:

$xoops_url/www.google.com

Can anyone tell me how to fix this, or use a different method for external links?

cheers

Mat




TopTop



Login

Who's Online

140 user(s) are online (77 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits