Page 1 of 1

Search module and filter disappearing after update to version 5

Posted: 03 Apr 2025, 00:58
by lello
Hello everyone,

today I updated from 4 to 5. Automatically through the Joomla update the component and manually the Modules Package.

And I found the problem that I am going to explain.

In the site I inserted the search module and the filter in the side-left position and assigned it to the various categories.

Before the update if I made a selection of the filter the items related to the filter were displayed and the filter remained in its place. Now after the selection the filter disappears.

This is because while before updating making a selection I had this url:

site/categorie/vernici-per-interni?view=items&manufacturer=5-colsam

now I have this url:

site/component/phocacart/items?manufacturer=5-colsam

and obviously the module disappears because it does not fit into the pages assigned to the module.

How can this be solved?

Thanks in advance to anyone who can direct me towards a solution

Re: Search module and filter disappearing after update to version 5

Posted: 07 Apr 2025, 12:54
by Jan
Hi, on your site, did you create a menu link to Phoca Cart?

https://www.phoca.cz/blog/1230-how-to-c ... -in-joomla
Jan

Re: Search module and filter disappearing after update to version 5

Posted: 07 Apr 2025, 13:59
by lello
Jan wrote: 07 Apr 2025, 12:54 Hi, on your site, did you create a menu link to Phoca Cart?

https://www.phoca.cz/blog/1230-how-to-c ... -in-joomla
Jan
Hi Jan, I created a menu item for each category "Category View (product list layout)" and with version 4 I had no problems.

The link generated after choosing with the filter was:

/category/name-of-category?view=items&manufacturer=example

and now with version 5 with the same choice is:

/component/phocacart/items?manufacturer=example

Has anything changed?

Thanks in advance!

Re: Search module and filter disappearing after update to version 5

Posted: 07 Apr 2025, 14:24
by Jan
Hi, when this URL is produces by Joomla: component/phocacart/items then mostly it cannot find the menu link. :idea: Try to disable all menu links to Phoca Cart and create only one for Categories View. Like described here:

https://www.phoca.cz/blog/1230-how-to-c ... -in-joomla

Jan

Re: Search module and filter disappearing after update to version 5

Posted: 07 Apr 2025, 16:35
by lello
Jan wrote: 07 Apr 2025, 14:24 Hi, when this URL is produces by Joomla: component/phocacart/items then mostly it cannot find the menu link. :idea: Try to disable all menu links to Phoca Cart and create only one for Categories View. Like described here:

https://www.phoca.cz/blog/1230-how-to-c ... -in-joomla

Jan
Thanks Jan, creating the main menu item as Category View (Category list layout - default view) the search modules and the filter remain in place.
And I can create the submenu items each for the individual categories (which is what the customer asks).
But I lose the ability to use the page headers that are a module (Joomlart Masthead) and the bradcrumb that being both modules cannot be customized on the single category for the same reason, the formatting of the url.
The strange thing is that I have two sites in front of me in testing. They are identical. One with PC 4 and the other with PC 5.
And I described what happens with the generated url, so something has changed if the generated url is different.
I will try to find a solution for the header and for the bradcrumb, but the situation is still better than before thanks to your suggestion, thanks a lot.