Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-03-04 13:32:59

arthuc01
New Member
From: Edinburgh, UK
Registered: 2004-04-16
Posts: 4
Website

Autolink URL

Hi Guys

Does anyone know if theres a way to automatically link URLs in TXP? I’m thinking of something that takes

http://mylink.com and converts to <a href ~~~~>

Thanks in advance

Chris

Offline

#2 2007-03-04 15:12:01

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Autolink URL

You mean, in articles? There’s the Textile syntax: "some texte":http://site.url

Offline

#3 2007-03-04 17:23:46

arthuc01
New Member
From: Edinburgh, UK
Registered: 2004-04-16
Posts: 4
Website

Re: Autolink URL

No Basically its a website for my non techie dad and he likes putting links like http://widgets.com and I would like it just to convert that into <a href=“widget.com”>widget.com</a>

Offline

#4 2007-03-04 20:14:24

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Autolink URL

Here is another thread by someone who wants the same. Maybe you can join forces ;)

Offline

#5 2007-03-04 21:26:33

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Autolink URL

Explain to him that a link by itself means nothing, it’s a word (or sentence or image or whatever) that can be linked. Then, around the text, he puts some quotes, a colon, and then the URI. It’s that simple.

Offline

Board footer

Powered by FluxBB