Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
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…
Offline