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

Support archive

Low Reorder 1.2.1 next/prev returning deleted data

andyharris 25 May 2012 10:44 problem, complete

I'm having a weird one. I'm using Low Reorder 1.2.1, and I have a prev_entry and next_entry pair trying to link to entries that have been deleted from the database.

They don't appear in the list if I try to reorder the list in the CP, and I've tried clearing the cache. But still the tags try to link to them.

Replies

  1. Low 25 May 2012 10:51

    Deleted entries? That does sound like a cache thing.

    What does the Template Debugger say?

  2. andyharris 25 May 2012 11:16

    If I cut back the content right back to just channel:entries tags and the two low prev/next tags, this is the bit that mentions reorder.

     
    (0.156249 / 18.41MB) Parsing Tags in Template
    (0.156293 / 18.41MB) Tag: {exp:low_reorder:prev_entry field="yacht_order" entry_id="82" prefix="prev_" category="7" status="open"}
    (0.156415 / 18.41MB) Closing Tag Found
    (0.156490 / 18.42MB) Tag: {exp:low_reorder:next_entry field="yacht_order" entry_id="82" prefix="next_" category="7" status="open"}
    (0.156586 / 18.42MB) Closing Tag Found
    (0.156635 / 18.42MB) Processing Tags
    (0.156687 / 18.42MB) Module Tag: Low_reorder/prev_entry
    (0.156717 / 18.42MB) Module Tag: Low_reorder/next_entry
    (0.156738 / 18.42MB) Including Files for Plugins and Modules
    (0.158232 / 18.50MB) Files for Plugins and Modules All Included
    (0.158257 / 18.50MB) Beginning Final Tag Data Processing
    (0.158280 / 18.50MB) Calling Class/Method: Low_reorder/prev_entry
    (0.158487 / 18.50MB) -> Class Called: Low_reorder
    (0.158520 / 18.50MB) -> Method Called: prev_entry
    (0.166692 / 18.54MB) -> Data Returned
    (0.166756 / 18.54MB) Calling Class/Method: Low_reorder/next_entry
    (0.166957 / 18.54MB) -> Class Called: Low_reorder
    (0.166992 / 18.54MB) -> Method Called: next_entry
    (0.167305 / 18.54MB) -> Data Returned
    (0.167345 / 18.54MB) - End Tag Processing -
    (0.167366 / 18.54MB) Parsing PHP on Output
    (0.169311 / 18.53MB) - End Template Processing -
    (0.169330 / 18.53MB) Parse Global Variables
    (0.170621 / 18.53MB) Template Parsing Finished

  3. Low 25 May 2012 11:22

    Any chance you can send me superadmin login credentials for this site? Send it to hi at gotolow dot com if you can.

  4. Low 25 May 2012 14:27

    Hey Andy,

    LR is not so much returning deleted data, as it is returning the {url_title} for the correct entries. However, you're not using the url_title, since you're using Structure. Take a look at the testing template you've set up. I've switched the {url_title} vars with the {entry_id} vars, so you can see the entries are the valid ones.

    You'd want to link to the {page_url} instead. That's available in Low Reorder 2, not in the version you're using...

  5. andyharris 25 May 2012 14:29

    Ah damn, I know about this being a potential problem but it totally escaped my mind. Thanks - I think I'll upgrade to LR2 to be safe.

    Cheers for looking.