New entries don't appear on front end until reordered and Cache Cleared
Hi Low,
I'm running Low Reorder 2.0.2 on EE 2.4.
I've got a Products channel set up and I'm using Low Reorder to sort products on a per category basis. However, when the client adds a new product and assigns it to a category, the product won't show up on the site unless he specifically goes into the Reorder tab, reorders the entries, and clicks Save with Clear Cache checked.
Is this the expected behaviour? I was hoping that entries would show up automatically based on the append/prepend setting and if the client wanted a custom order, he could then go in and set it.
I should also note that "Clear all caches when new entries are posted?" is set to Yes and "Cache Dynamic Channel Queries?" is set to No.
My low_reorder:entries tag is as follows:
{exp:low_reorder:entries
channel="products"
disable="categories|category_fields|member_data|pagination|trackbacks"
dynamic="no"
category="{embed:cat_id}"
set="1"
orderby="title"
sort="asc"
}
Replies
Low 5 Jun 2012 07:38
Hi Eric,
I can't replicate. Are you assigning new entries to existing categories? Or are you creating new categories on the fly as well?
Also, can you try omitting the channel, orderby and sort parameters, as well as the "categories" from the disable parameter?
ebarstad 5 Jun 2012 14:06
Thanks Low! Removing those parameters seems to have worked.
ebarstad 5 Jun 2012 15:24
G'ah, sorry. It worked when I added a product to an existing category that had been ordered via the module previously but when the client created a new category and added two products to that category, they did not show up on the site until I went into the module and saved the order.
Do you think I have to go category by category and save the order at least once? i.e., there are some categories I'm sure have never been reordered, so I'm wondering if that is where the problem might be.
Low 5 Jun 2012 17:47
Well, when you create a new Set, no actual order is saved until you reorder the entries and save that.
So if you created a Set with "Show entries per single category", then the orders for each category should be created first.
I understand that this is awkward, and I'll look into changing this in an upcoming release.
Low 5 Jun 2012 17:53
However, for an existing Set with the above setting, any new categories will be added automatically, so that should work as expected.
ebarstad 5 Jun 2012 23:41
Yeah, it's an existing set (started with Reorder 1 and then updated to 2). The latest workflow went something like this:
- client added entries
- client added a category
- client assigned entries to the category, but entries didn't show up on the site
- I went into Low Reorder, picked the category, and just clicked save without reordering but with "clear cache" checked.
- entries showed up on the site
Low 6 Jun 2012 09:26
This is the exact scenario I tried, and it worked for me...
Could I perhaps take a look in the CP? Then I can see if the orders are being updated in the DB. You can send superadmin login credentials to hi at gotolow dot com.
Bryan 18 Jul 2012 22:11
Sorry, I realize that my situation is a little bit different that described in this post so I've moved it over here: http://gsfn.us/t/2zzuf