Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
linking to the next and previous articles
Hi,
Ive built a portfolio site using txp and have a small niggle. Ive used <txp:link_to_prev> and <txp:link_to_next> to be able to move back and forth between portfolio items (articles) in a section. The problem is on the first and last articles in the section, this generates a dead link because there isnt an article to move onto. How do I disable this dead link? ive tried using <txp:if_last_article> but then discovered this only works on a single page with an article list, it does NOT work accross multiple page IDs.
Whats the easiest solution here?
Cheers :)
Offline
#2 2010-02-24 13:51:27
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: linking to the next and previous articles
Sounds like a scenario for showalways=0
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: linking to the next and previous articles
duh. totally missed that, thanks.
Offline