Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-10-02 23:12:45
- aesop1
- Archived Plugin Author
- Registered: 2004-09-19
- Posts: 142
Paging working with 4.0.1?
Okay, I can’t seem to get <code><txp:older> or <txp:newer></code> working with article_custom. Is anybody else having this issue?
Last edited by aesop1 (2005-10-02 23:19:56)
Offline
Re: Paging working with 4.0.1?
I have a similar problem. I describe it here:
http://forum.textpattern.com/viewtopic.php?id=11777
Andreas
Offline
Re: Paging working with 4.0.1?
> I can’t seem to get <txp:older> or <txp:newer> working with article_custom
This is the intended and wanted behaviour. Otherwise it would severely limit the usefulness of article-custom.
Offline
#4 2005-10-03 00:31:10
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Offline
#5 2005-10-03 08:51:39
- aesop1
- Archived Plugin Author
- Registered: 2004-09-19
- Posts: 142
Re: Paging working with 4.0.1?
Okay. But this did work before, in previous pre-release versions, no?
Offline
#6 2005-10-03 09:59:03
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Paging working with 4.0.1?
No, article_custom has always worked that way. Think of article_custom as a beefed-up recent_articles.
Alex
Offline
#7 2005-10-03 10:34:57
- aesop1
- Archived Plugin Author
- Registered: 2004-09-19
- Posts: 142
Re: Paging working with 4.0.1?
The funny — or possibly tragic — thing, Alex is that I was abusing article_custom really badly this weekend. The reason I wanted to use it in this case was for a “date-based” archive using a “dateaware” attribute that I added to doArticles (a mod).
The tragiocomedy was played out when I realized that the article tag was already “date aware” because your month variable was available (via ?month=yyyy-mm-dd) to it. The only other thing that is needed is to have the month variable added for paging in the taghandlers.php “newer” and “older” functions. I also emailed Sencer regarding this and my previous “brilliant solution” who patiently suggested that I may be reckless but not necessarily an idiot. Anyway, you can follow the hilarity here: http://forum.textpattern.com/viewtopic.php?pid=79583#p79583
Hopefully, I can save some other poor soul the trouble that I went through. Let me know if the “newer/older” function fix is doable.
Thanks,
Matt
Offline
Pages: 1