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

Support archive

Entries still show up after being removed from a category

Joseph Wensley 18 Oct 2012 19:29 problem, complete

I have a Reorder set that is set to show entries per single category, but I've noticed that if I reorder the entries in a category and then remove that category from an entry, the entry still gets displayed on the front end. It fixes itself if I clear the cache for that category order.

My entries tag is
{exp:low_reorder:entries
disable="categories|member_data"
paginate="bottom"
set="1"
}

Replies

  1. Low 18 Oct 2012 20:26

    Hi Joseph,

    Yeah, cache needs to be cleared in that case. Also, how are you removing the categories from the entries? By editing the entry itself or are you using the multi-entry editing option?

  2. Joseph Wensley 18 Oct 2012 20:35

    I'm editing the entry itself.

    Could you not clear the cache anytime an entry is updated?

    Having to go through and clear caching every time you change a category would be quite annoying if you have a lot of categories or change often.

  3. Low 18 Oct 2012 20:38

    Actually, the cache should be cleared when an entry is deleted, so maybe there's something else going on...

    I'm in transit from Houston to Amsterdam right now, so I can't investigate thoroughly.

    So, just to be sure, if you remove a category from an ordered entry and then reload that category page on the front end, you still see the entry there? Do you have any other caching add-ons installed, perhaps?

  4. Joseph Wensley 18 Oct 2012 20:41

    So, just to be sure, if you remove a category from an ordered entry and then reload that category page on the front end, you still see the entry there?


    Yes, this is exactly what is happening.

    I don't have template caching on or any caching add-ons.

  5. Low 18 Oct 2012 20:52

    Can't seem to replicate this behaviour. What version of Low Reorder are you using? Also, is this online somewhere I can take a look? If so, you can send me login credentials to hi at gotolow dot com.

  6. Joseph Wensley 18 Oct 2012 21:06

    I'm using 2.0.4 and I just sent some login credentials.

  7. Low 19 Oct 2012 14:34

    Hi Joseph,

    I've changed the opening tag to this:

    {exp:low_reorder:entries 
    {if segment_2 == "category"}category="{segment_3_category_id}"{/if}
    disable="categories|member_data"
    paginate="bottom"
    set="1"
    }


    ...so the category id is explicitly given for the set. This solves the issue for now.