Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Replacing txp:older with a plugin?
I’m using txp:older, /txp:older for navigation on my photoblog. This works fine in article_list viewing. When users actually go into the full article, however, the txp:older disables and the hyperlinked item disappears.
On my photoblog, I wrap the image in the tags so that users can click the image to visit the previous day’s image. So, looking at the individual_article, the photo doesn’t show up at all. Which means that anytime a person visits the comments page, the photo disappears.
I’d like to accomplish a handful of things:
1) I want my images to be clickable to view the previous day’s image.
2) I want the images and my text-based navigation links to show up on both the article_list and individual_article, and I want them to be useable.
I do not want to use the txp:previous_title tag, as I don’t use titles on my site.
Is there a work around or plugin that will allow me to do this?
Thanks,
theturninggate
Offline
Re: Replacing txp:older with a plugin?
The default template of a fresh textpattern installation holds the answer. You can use:
<code><txp:link_to_prev>…</txp:link_to_prev>
<txp:link_to_next>…</txp:link_to_next></code>
Offline
Re: Replacing txp:older with a plugin?
Works like a charm. Thanks!
Offline
Pages: 1