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

Support archive

Disappearing Next and Previous entries in Low ReOrder

Stephen Mapes 20 Apr 2012 21:57 problem, complete

Low ReOrder: Next and Previous entry links seem to be randomly disappearing on pages. They will appear, work for a couple entries, and then disappear. The glitch doesn't seem to be related to any specific page or follow any clear pattern.

The code in question is:

{exp:low_reorder:prev_entry field="question_order" entry_id="{entry_id}" prefix="prev_"}<a href="/questions/{prev_url_title}">Previous Question</a>{/exp:low_reorder:prev_entry}
{exp:low_reorder:next_entry field="question_order" entry_id="{entry_id}" prefix="next_"}<a href="/questions/{next_url_title}" style="float:right;">Next Question</a>{/exp:low_reorder:next_entry}

We're using EE v2.4 and Low Reorder 1.2.1. Clearing the cache seems to fix things for a minute, but the links disappear shortly after.

Replies

  1. Low 22 Apr 2012 09:32

    Hi Stephen,

    That seems like a hard issue to debug by your description. Do all the entries have the same status? Also, can you try enabling the template debugger and look at the lines containing "Low Reorder", for both when the items are there and when they are not.

  2. Stephen Mapes 24 Apr 2012 18:07

    It's difficult to replicate, but clearing ReOrder's cache seems to make the buttons reappear immediately. Is there a way to check the cache in the database to see if it's getting corrupted?

  3. Low 25 Apr 2012 10:21

    When you're clearing the cache with Low Reorder, you're just clearing all native EE cache -- Low Reorder doesn't use its own caching methods.

    Can you send me your complete template code in a http://pastebin.com/ ? I'd like to see what else is going on.

  4. Stephen Mapes 7 May 2012 19:09

    Sure thing! Here you go!

    http://pastebin.com/qUBzB6Q9

    I tested with EE's native next/prev links and didn't have disappearing links, but obviously they don't offer the functionality Low offers.

    You can see the live site in action at http://www.biologos.org/questions and viewing any of the entries.

    Thanks!

  5. Low 7 May 2012 20:51

    I located the issue. It has to do with the tag caching you're using in the template. Upgrading to LR2 will solve it. If you're not ready to upgrade to LR2, I can send you a patched mod.low_reorder.php file for version 1.

  6. Stephen Mapes 7 May 2012 21:10

    That seemed to do it! I wasn't even aware there was a 2.0.1 available.

    Thanks for the fantastic support!

  7. Low 7 May 2012 21:14

    Cool, glad it works now.