All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low reorder with dynamic = no

Andy Lake 21 May 2012 20:57 question, complete

if i replace my tag with low reorder i do not get any results because i think there is a bug with dynamic=no.

{exp:channel:entries channel="projects" dynamic="no" status="open|featured" orderby="title" sort="asc"}

Replies

  1. Low 21 May 2012 21:00

    Hi Andy. What does the low_reorder:entries tag look like? Have you defined the set="" parameter?

  2. Andy Lake 21 May 2012 21:20

    Thanks for the speedy response, yes i just had set="2" where set represent my second filter which is in place for projects.

  3. Low 21 May 2012 21:23

    So, what does the complete low_reorder:entries tag look like?

  4. Low 21 May 2012 21:42

    Andy, I removed your post, as it broke the GetSat page. Could you paste the code somewhere safe, like in http://pastebin.com/ ?

    Also, what are the filter settings for that Set? A screenshot of the settings page would help.

  5. Andy Lake 21 May 2012 22:04



    Does this help?

  6. Low 21 May 2012 22:09

    Yeah, code looks good.

    Some more info then:

    * A screenshot of the Set details (filter options)
    * Turn on Template Debugging, and look up the lines with Low Reorder. At one point, you should be able to see which parameters are being set. A screenshot of that would help too.

  7. Andy Lake 21 May 2012 22:26



    Does this help?

  8. Low 22 May 2012 06:42

    Can you try going to the "Reorder Entries" page of Set #2 and saving the order there (and clearing cache)?

  9. Andy Lake 22 May 2012 07:41

    That worked mate...nice one.

  10. James 17 Jul 2013 13:55

    I am having this exact problem with Low Reorder 2.2.1 and EE 2.6.1: my low_reorder:entries loop (set to dynamic="no") pretty much needs to be inside a exp:channel:entries loop (set to dynamic="yes") but the low_reorder one always pulls the same entry -- it gets the total count of entries right but it pulls the same entry every time (based on the slug in the URL).

    http://pastebin.com/R7q9pajq

    Clearing the Low_reorder cache for that set has no effect.

    Any other troubleshooting tips? Thanks.

  11. Low 17 Jul 2013 14:23

    You're nesting the channel:entries and low_reorder:entries tags. That means the outer tag will process all inner variables, including the ones in the low_reorder:entries tag.

    Why are you nesting at all? If you just want to output the list of entries, you needn't do that.

  12. James 17 Jul 2013 14:33

    Ok I guess I will work around it. For layout purposes I need output from exp:channel:entries above and below the low_reorder loop, and I assumed it's wasteful to run the former twice. But it sounds like you're saying I should do this:

    {exp:channel:entries dynamic="yes" limit="1"}
    {some_field}
    {/exp:channel:entries}

    {!-- list entries --}
    {exp:low_reorder:entries dynamic="no" set="whatever_set"}
    {title}
    {/exp:low_reorder:entries}

    {exp:channel:entries dynamic="yes" limit="1"}
    {some_other_field}
    {/exp:channel:entries}

  13. Low 17 Jul 2013 14:36

    The low_reorder:entries tag also has a prefix="" parameter you could use to avoid variable name collisions like that. Try and see if that helps you out.

  14. James 17 Jul 2013 14:44

    That works (with a single outer loop) ! I didn't even recognize this as a variable collision problem. Thanks!

    For reference:

    Ok I guess I will work around it. For layout purposes I need output from exp:channel:entries above and below the low_reorder loop, and I assumed it's wasteful to run the former twice. But it sounds like you're saying I should do this:

    {exp:channel:entries dynamic="yes" limit="1"}

    {some_field}

    {!-- list all entries in low_reorder order --}
    {exp:low_reorder:entries dynamic="no" set="whatever_set" prefix="global_"}
    {global_title}
    {/exp:low_reorder:entries}

    {some_other_field}

    {/exp:channel:entries}

  15. Low 17 Jul 2013 14:46

    Cool, glad it worked out.