Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2004-08-02 01:52:22
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
[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
Offline
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
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
- Registered: 2004-02-26
- Posts: 22
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>« Previous Page</txp:zem_link_to_prev>
</div>
<div id=“next”>
<txp:zem_link_to_next>Next Page »</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
Re: [plugin] [ORPHAN] zem_nav
A bug. Give this a whirl:
Alex
Offline
#6 2004-10-16 12:26:42
- Chris
- Member
- Registered: 2004-02-26
- Posts: 22
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
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
Offline
#8 2004-10-17 09:14:31
- Chris
- Member
- Registered: 2004-02-26
- Posts: 22
Re: [plugin] [ORPHAN] zem_nav
Thanks Zem, you’re a star. Added $20 towards your latest dropcash ransom.
Offline
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
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
Offline
Re: [plugin] [ORPHAN] zem_nav
I can’t seem to get this to work (as well as the regular txp next/prior) as it shows nothing entered.
Offline
#12 2005-01-12 03:19:58
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_nav
Can you post an example of the tags you’re using (surround with < code > < /code > so it shows up), and a link to a page that demonstrates the problem.
Alex
Offline