Filter exp:low_reorder:next_entry by category??
I'm in need of a way to reorder entries across multiple channels but it appears there is no add-on that does this. So I'm thinking about combing the two channels into one and separating them by category instead.
When using Low Reorder and the next_entry and prev_entry tags does the category parameter work like I'd expect it to, filtering the results by that category or is it for something else? I am a little confused description in the documentation and wanted to be sure it can do what I think it can.
I ask because I need to combine both of these channels but for the next/prev links I only want one of the old channels to be included, so if converting channels to categories I need to be able to include only one category in the next/prev link loop even though I'd be sorting entries from two categories and displaying a list on a different page that includes entries from both categories.
Replies
Low 11 Oct 2011 12:28
Hi Benek,
Yes, the category parameter should work as you describe. I've just tested it: a large list of entries from mixed categories. I then display entries from only a certain category and filter the prev/next entry tag by that category. It shows the correct entries (ie. the prev/next entry by that order in that category).
Benek Lisefski 27 Sep 2012 02:02
Just revisiting this.
Is it possible to restrict {exp:low_reorder:next_entry} and {exp:low_reorder:prev_entry} to entries in one channel, even if the set contains entries from multiple channels?
Like a "channel" parameter that would work the same as the "category" parameter?
As described above, I have entries from multiple channels that get displayed together on one page. But when I go to the entry detail page I want only the entries from one of the channels to be included in the prev/next links since the entries from the other channel don't have their own detail page so there's nothing to link to.
If there's no way to make that work, I suppose I can combine the entries into the same channel and assign them all to categories to group them instead. But I prefer the organization of leaving them in separate channels if possible.
Low 27 Sep 2012 07:57
It's not possible to filter the prev/next entries by channel, I'm afraid. It uses the filter settings defined in the Set.
I can make a note of this for a feature request.