Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-09-08 14:04:49

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 581

Use Textpattern Tags in Textpattern's Link area

Is it possible to use <txp:... /> tags in Textpattern’s Link area? I realise I could just use the following HTML or equivalent Textile in articles:

<a href"=<txp:site_url />section?c=category">Link Text</a>

Having all my links within articles in one place instead of scattered through hundres of posted articles would be easier to manage I think.

Offline

#2 2011-09-08 15:33:35

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: Use Textpattern Tags in Textpattern's Link area

While being on the links tab already I experimented a little and found that placing tags there doesn’t work at all, as you probably experienced yourself. But based on your example: when you just use a category (i.e. ?c=category) or an article’s url_title in the link’s URL field then site_url and section are always the ones of your site and that of the section the article is assigned to, i.e. <txp:site_url />section is not necessary. So this is positive and restricting in one ;)

* vanishes to make room for real experts *

In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB