Low Reorder 1.2.1 next/prev returning deleted data
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
Low 25 May 2012 10:51
Deleted entries? That does sound like a cache thing.
What does the Template Debugger say?
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.
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.
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...
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.