Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-08-25 00:19:44

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

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

#2 2005-08-25 00:26:25

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

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

#3 2005-08-25 02:55:07

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: Replacing txp:older with a plugin?

Works like a charm. Thanks!

Offline

Board footer

Powered by FluxBB