Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-08-02 01:52:22

zem
Developer emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579
Website

[plugin] [ORPHAN] zem_nav

Provides two tags:

  • <txp:zem_link_to_next></txp:zem_link_to_next>
  • <txp:zem_link_to_prev></txp:zem_link_to_prev>

These work the same as txp:link_to_next and txp_link_to_prev, except they function on an article list page as well as archive pages.

download:

http://thresholdstate.com/software/3706/zemnav

Last edited by zem (2005-01-13 21:46:38)


Alex
tstate

Offline

#2 2004-10-15 19:48:12

fri
Member
From: Denmark
Registered: 2004-04-30
Posts: 34
Website

Re: [plugin] [ORPHAN] zem_nav

I must have missed this one! Just found it now – can’t wait to see it in action…
Thank you VERY mutch, zem – for beeing so generously productive.

Offline

#3 2004-10-15 20:28:12

jhaeusler
Member
From: Berlin
Registered: 2004-09-04
Posts: 22
Website

Re: [plugin] [ORPHAN] zem_nav

This is what I was looking for, too, but it doesn’t work for me on list pages. Could it be that it interferes with chh_article_custom (or the other way ‘round)?


http://ww.spreeblick.de, a weblog from Berlin

Offline

#4 2004-10-15 23:09:57

Chris
Member
From: Bristol, UK
Registered: 2004-02-26
Posts: 22
Website

Re: [plugin] [ORPHAN] zem_nav

This is just what I’ve been looking for but am not getting the right links out. Instead of getting a link to:

http://www.wilyfox.com/<b>article</b>/23/ryder-cup-2004

I get links pointing to:

http://www.wilyfox.com/<b>default</b>/23/ryder-cup-2004

which just throws up a 404 in my case. Is this a little bug or am I doing something wrong? In my default form I placed the following:
<code> <div id=“previous”> <txp:zem_link_to_prev>&laquo; Previous Page</txp:zem_link_to_prev> </div>

<div id=“next”> <txp:zem_link_to_next>Next Page &raquo;</txp:zem_link_to_next> </div>
</code>

Is there a way to get a tag like this to work in a page template or is it only possible within a form (and not default forms)?

Last edited by Chris (2004-10-15 23:23:40)

Offline

#5 2004-10-16 01:34:34

zem
Developer emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579
Website

Re: [plugin] [ORPHAN] zem_nav


Alex
tstate

Offline

#6 2004-10-16 12:26:42

Chris
Member
From: Bristol, UK
Registered: 2004-02-26
Posts: 22
Website

Re: [plugin] [ORPHAN] zem_nav

Great, works a treat. Thanks Zem, now I can get rid of those awful /?page=2 links!!

Can it output <code>title=“next_article_title”</code> attributes?

Last edited by Chris (2004-10-16 13:22:08)

Offline

#7 2004-10-17 00:00:08

zem
Developer emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579
Website

Re: [plugin] [ORPHAN] zem_nav

http://vigilant.tv/documents/tp/zem_nav-0.3.txt

If zem_link is installed and active, zem_nav will use it to generate links. zem_link_to_next and zem_link_to_prev will accept parameters for zem_link, like this:

<txp:zem_link_to_next title="next: %s"><txp:next_title /></txp:zem_link_to_next>


Alex
tstate

Offline

#8 2004-10-17 09:14:31

Chris
Member
From: Bristol, UK
Registered: 2004-02-26
Posts: 22
Website

Re: [plugin] [ORPHAN] zem_nav

Thanks Zem, you’re a star. Added $20 towards your latest dropcash ransom.

Offline

#9 2005-01-11 18:34:41

ebullient
New Member
Registered: 2005-01-11
Posts: 7
Website

Re: [plugin] [ORPHAN] zem_nav

Where did version 0.3 disappear to? the link above (http://vigilant.tv/documents/tp/zem_nav-0.3.txt) returns only version 0.2…


‘Waste of a good apple.’ – Samwise Gamgee

Offline

#10 2005-01-11 23:58:09

zem
Developer emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579
Website

Re: [plugin] [ORPHAN] zem_nav

I made an error with the version numbers. Not to worry, there’s a new 0.3 (with many improvements over the old 0.3):

http://thresholdstate.com/download/zem_nav-0.3.txt

It works with both zem_link and zem_rewrite, if they’re installed, and adds better support for sections and categories.

You can thank Kevin G. for this one.

Last edited by zem (2005-01-12 00:01:01)


Alex
tstate

Offline

Board footer

Powered by FluxBB