Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Question about Prev/Next Article Links
I am using this <txp:prev_title /> and this <txp:next_title /> to let the user navigate to the next “newer” and “older” article.
the problem is, when they are on the very first or very last article, the text understandably does not show up. however I DO want the text to show up (but maybe not be clickable or something like that).
any idea how to do this? thanks!
Offline
Re: Question about Prev/Next Article Links
But if you are using txp:prev_title
/ txp:next_title
it’s more than understandable that it doesn’t output anything. Which title will show up as the next/prev title of the first/last article?
You can try:
<txp:link_to_next showalways="1">Next</txp:link_to_next>
Offline
Re: Question about Prev/Next Article Links
the layout gets messed up when that button disappears altogether, so it’s best if i have it stay on the screen but become grayed-out and not clickable.
thanks that did the trick.
Offline