I have looked through the forum and didn’t see this issue posted. I am new to Treepl CMS so I am playing around as I prepare to move sites from BC and get familiar with Treepl CMS. I must be missing something.
I have a simple custom module that currently has two items in it. I also created two categories and assigned one of the items to a category. I added the following component tag…
Yeah, I think this is a bug introduced in the last update as I ran into this issue yesterday (but haven’t had time to properly test).
It seems that the data is output - ie: if you push it to a collectionVariable, but it’s just not rendering the list layout for some reason. @vlad.z
This has been a bug for several weeks. The work-around until it is fixed is to:
Export the custom module items.
Delete the Custom IDs (but not the column or its heading) in the spreadsheet.
Delete all custom modules items via the admin area.
Import the spreadsheet back into the custom module which will consider all those items as new because they don’t have a custom id and somehow the filter by categories will not work.
If only a few items are not filtering by categories, I import just those items as ‘new’ after first deleting them from the custom module (if you don’t delete them, you’ll end up with duplicates).
@vlad.z any update on the filtering by category issue?
I thought this was due to the reindex issues, but these have been resolved in v5.0.1 haven’t they? yet filtering by category still isn’t working, or has a different issue.
Can you give me a link to a site where the issue occurs?
I can’t replicate it on my site so I need a live example in order to check it and provide a solution.
It may be a legacy-crashed index or item issue because new created items shown correctly.
Try this one https://sljstudio.trialsite.co. I have a custom module called Sculptures. On this page https://sljstudio.trialsite.co/catholic I have put together a demo so you can see it pulls all items in the module but when filtering by category nothing shows up. There should be two items there.
Looks like the Categories now work in Custom Modules.
However, I found a possible bug. Using a user-submitted custom module update form. When you change the category(s) the original category(s) are still in the data.
Here you can see it shows 4 categories in line two (Column labeled “Station”)
When I look at the edit form on the front end it only shows KRNP, KZTL selected and when I look at it in the back end it only shows KRNP, KZTL selected. Shown below.
If I hit save in the backend the other categories go away and it works correctly. Something with the front end update form is not working correctly on categories.