Low Reorder and Query Module
I use your Low Reorder plugin like below:
http://pastebin.com/gxvFtdxL
But I'd like to use it together with Query Module. How can I do it for the code above? I need a possibility to change the order of entries but on the other hand I don't want to get all unnecessary info from channel because of performance of website.
Can you help with it?
Thanks.
Replies
Low 15 Feb 2017 15:17
What do you mean "use it together with the Query module"? Do you mean jQuery?
Low Reorder does not support reordering on the public facing side of your site, via templates. Only via the CP.
Daniel 15 Feb 2017 15:23
No, I'm talking about {exp:query}{/exp:query}.
Low 15 Feb 2017 15:26
Then I'm still not sure what you're trying to accomplish. You can nest the tags inside and out (although not recommended, and you might run into variable name conflicts), so have you tried it yet?
It shouldn't be any different than using the native channel:entries tag and the query module.
Daniel 15 Feb 2017 15:32
The thing is that I don't want to nest the tags and I want to replace exp:low_reorder/exp:channel tag by exp:query at all.
Low 15 Feb 2017 15:37
Wait, you want to use exp:query instead of exp:low_reorder:entries?
That's not something I can help you with from a Low Reorder support point of view.
Daniel 15 Feb 2017 16:04
Probably it was wrong explanation... I'd like to reorder the entries as usual but I don't want to get all unecessary data from database (it happen when you use exp:channel). So should I use the code as below? And I understand that I will not avoid nesting the tags.
{exp:low_reorder......}
{exp:query}........{/exp:query}
{/exp:low_reorder}
Low 15 Feb 2017 16:12
But, you can't. Low Reorder extends the channel:entries tag. Using the disable="" parameter and such will give you all the optimization you need.
Sorry, but unless you're running into unexpected results or errors with Low Reorder, I can't see how I can support you in this matter.