Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-10-01 12:34:16
- ceetee
- Member
- Registered: 2006-09-16
- Posts: 11
Simple menu links
Beginners question: How do I make the code below generate custom field names (menu links) of all the articles? At the moment it just generates the name of article called. Tried a navigation plugin but that didn’t do anything. I think I must be missing something.
<txp:permlink><txp:custom_field name=“menu_link” /></txp:permlink>
Which comprises part of the nav_left form in the page below.
<txp:output_form form=“header” />
<txp:output_form form=“nav_left” />
<td id=“col2”> <div>
<txp:if_individual_article> <txp:article limit=“1” pgonly=“0” /> <txp:else /> <txp:article status=“sticky” /> </txp:if_individual_article> </div> </td><txp:output_form form=“footer” />
Offline
#2 2010-10-01 12:48:25
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Simple menu links
<txp:article_custom wraptag="ul" break="li">
<txp:permlink><txp:custom_field name="menu_link" /></txp:permlink>
</txp:article_custom>
Offline
#3 2010-10-01 16:02:52
- ceetee
- Member
- Registered: 2006-09-16
- Posts: 11
Re: Simple menu links
Thanks, working nicely now.
Offline
Pages: 1