Can't use channel parameter in 2.0
We upgraded to 2.0 but we have a problem in that it seems the new entries tag doesn't allow you to specify which channel to use. For example
{exp:low_reorder:entries set="5" channel="{sn_program_channel_list_from_url}"}
This uses a snippet to get a list of channels from the url, but it seems Low Reorder ignores to channel parameter
Replies
Low 1 May 2012 17:41
Hi James,
yeah, the Set parameter will set the channel parameter according to the Set's settings. Currently, this cannot be overwritten. How are you using a set at the moment? Selecting all channels in one big list and filtering on the fly by channel?
I could do a quick update allowing for the overwriting of parameters, if that will help you.
james.spibey 1 May 2012 17:45
Yes, basically I have a set which spans multiple channels (about 10 actually) where the set is filtered down to show one entry per channel (by status). I need to show all entries on one page, and then a subset on other pages. The snippet sn_program_channel_list_from_url gives me either all channels or a subset depending on the url.
I could achieve the same by creating multiple sets, but then we'd have to maintain the order in each one which would be a bit of a headache.
If you could allow the channel parameter to be overridden that would be a great help
Thanks
Low 1 May 2012 20:17
I'll get on it first thing tomorrow morning.
Low 2 May 2012 12:34
Hi James,
v2.0.1 should work better with other parameters. Could you give it a go?
james.spibey 2 May 2012 14:48
Hi,
Yes, that looks like it's working fine.
Thanks for the quick fix!
James