Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-05-07 05:56:10

Sootah
Member
Registered: 2006-05-04
Posts: 27

Is there a TxP tag to link between specific articles?

I’m writing something now and I’d like to cross-reference to another article. I can do a regular HTML link, but if I ever change the structure of the site for some reason that link will become broken.

Is there a tag like <code> <txp:linkarticle articleid=9></code> or whatever that I can use? That way if I do change it up the link will automatically update?

Last edited by Sootah (2006-05-07 20:00:14)

Offline

#2 2006-05-07 07:28:19

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Is there a TxP tag to link between specific articles?

No, there’s no such tag. You could use a plugin, e.g. zem_link.

Offline

#3 2006-05-07 16:17:10

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Is there a TxP tag to link between specific articles?

This should be a built-in feature, I think (an “id” attribute). I’ll make a patch.

Offline

Board footer

Powered by FluxBB