Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-10-05 01:58:52
- cilantrobot
- New Member
- Registered: 2009-08-10
- Posts: 5
Older / Newer articles, restricted by categories?
I’m using TextPattern as to build my portfolio, and have different types of work (print, web, ect) listed in different categories. I’m using rss_unlimited_categories to allow for multiple categories. I’m trying to create a “next” and “previous” button so people can browse the portfolio pieces using the following code:
<txp:link_to_prev showalways=“0”>Prv</txp:link_to_prev> /
<txp:link_to_next showalways=“0”>Nxt</txp:link_to_next>
(Page example: http://thinblackglasses.com/madscience/osaka-brand-guidelines ). The problem I’m having is it reads the articles in all categories, I want to restrict it to just 1. Is there a way of doing this? Thank you!
Offline
#2 2009-10-05 21:18:28
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Older / Newer articles, restricted by categories?
You could have a look at smd_horizon.
Offline
Re: Older / Newer articles, restricted by categories?
Nice design.
Why don’t you use sections for the portfolio “categories” just curious.
its a bad hen that wont scratch itself.
photogallery
Offline
#4 2009-10-06 04:00:51
- cilantrobot
- New Member
- Registered: 2009-08-10
- Posts: 5
Re: Older / Newer articles, restricted by categories?
Els, thanks! I’ll investigate.
kvnmcwebn — You know, thats probably the best/easiest solution :P I was thinking about that in the shower this morning.
Thanks everyone.
Offline
Re: Older / Newer articles, restricted by categories?
maybe just use the exclude attribute with a section list tag.
oh or this plug in is handy: cbs_navigation_menu
Last edited by kvnmcwebn (2009-10-06 09:37:57)
its a bad hen that wont scratch itself.
photogallery
Offline
Re: Older / Newer articles, restricted by categories?
check o ut also jk_neighbour
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline