Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-08 15:02:53

illi
New Member
Registered: 2007-01-08
Posts: 8

Links to other website

Hi,
I’m really new to the teztpattern interface. My big problem is how can i make a link to an other site. I’ve tryed with txp:linklist, but I want to use only one link. The html code is something like this:
<a href=“http://www.illisoft.net”> www.illisoft.net </a>
Is there a posibility?

Thanks

Offline

#2 2007-01-08 16:32:33

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

Re: Links to other website

If you want to have the link in your page template, just use the html code. Inside an article:

"www.illisoft.net":http://www.illisoft.net

Offline

#3 2007-01-08 16:40:14

dbulli
Member
Registered: 2004-11-22
Posts: 195
Website

Re: Links to other website

Nothing wrong with that code … and that should work… if HTML s allowed. You can also use textile type code "linktext":url

Would be nice to use “admin > content > links” interface to manage links and then use links like this in your code like something very similiar to how articles work <txp:link id="3" /> … maybe there but i don’t think so


nuff-respec ::: dannyb

Offline

#4 2007-01-08 18:06:38

illi
New Member
Registered: 2007-01-08
Posts: 8

Re: Links to other website

Thank you for helping,
The problem is that I try to put the link not in one article but in a page. I wrote this:
<div id=“foot”><txp:link id=“1”>Una página de Gerhard Illi, illiSoft Fantasy Dreams” </txp:link></div>
but there are always errors.

Offline

#5 2007-01-08 18:18:44

dbulli
Member
Registered: 2004-11-22
Posts: 195
Website

Re: Links to other website

I don’t think you can use “id” in link ??? what els said should work "Una página de Gerhard Illi, illiSoft Fantasy Dream":http://www.someurl.com/etc/etc/html

Last edited by dbulli (2007-01-08 18:19:04)


nuff-respec ::: dannyb

Offline

#6 2007-01-08 19:05:38

illi
New Member
Registered: 2007-01-08
Posts: 8

Re: Links to other website

O.k,
I think this works only in an article, but I would like to put a reference to my other Website (http://www.illisoft.net) in the footer of all pages. So I’ve written in the presentation/page code the following: <!— footer —>
<div id=“foot”>Una página de Gerhard Illi, illiSoft Fantasy Dreams:http://www.illisoft.net</div>
but it doesn’t work in the page template. Where is the bug and where is a solution?
Thanks

Offline

#7 2007-01-08 19:17:46

dbulli
Member
Registered: 2004-11-22
Posts: 195
Website

Re: Links to other website

In the presentation layer use regular html
<div id=“foot”><a href="http://www.illisoft.net">Una página de Gerhard Illi, illiSoft Fantasy Dreams</a></div>


nuff-respec ::: dannyb

Offline

#8 2007-01-08 20:30:39

illi
New Member
Registered: 2007-01-08
Posts: 8

Re: Links to other website

Hi dbulli,

a lot of thanks, now it works. The lonely thing I’ve tried before was to make a code with a txp tag. But it does’t matter if the code is clean or not, the important thing is that it works

best regards

Offline

Board footer

Powered by FluxBB