Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-05 08:46:28

pdemaers
New Member
Registered: 2006-03-23
Posts: 3

Textpattern tag for linking to specific section

Hi,

is there a textpattern tag to link some fixed text to a specific section. I will give an example:

On my ‘home’ page i have the text ‘Contact us for more information’. I want to make the ‘Contact us’ text a link to the ‘Contact’ section, so clicking on that text would be same as clicking on ‘Contact info’ menu item.

Is there a <txp: > style tag for this, or do i have to use standard HTML <a href=""> ?

Thanks,

Patrick

(edited to show code. – Els)

Last edited by els (2006-04-05 13:32:34)

Offline

#2 2006-04-05 10:02:05

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

Re: Textpattern tag for linking to specific section

<txp:section link="1" />, see here

Offline

#3 2006-04-05 13:35:57

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

Re: Textpattern tag for linking to specific section

If you want the text ‘contact us’ as link text, you’d have to use a html tag.

Offline

#4 2006-04-05 16:44:59

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Textpattern tag for linking to specific section

I have suggested the following idea:
txp:section as a container tag to generate custom links to sections

Maybe in the future…


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB