News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Category module problem [rev. 10748)

Started by Roderic, November 25, 2022, 17:15:10 PM

Previous topic - Next topic

Roderic

I've updated several websites and all seems to work well. However I noticed one issue with the category module.

I load several of these modules in the Main menu so it lists the subcategory from the selected parent category.
After updating, it lists ALL categories in every module.

http://dev.virtuemart.net/projects/virtuemart/repository/revisions/10742/diff/trunk/virtuemart/modules/mod_virtuemart_category/helper.php?utf8=%E2%9C%93&type=sbs

When I comment out line 41 and uncomment line 40, it works again as expected. So I assume something is missing in line 41 that makes the module obey the selected parent category?


Milbo

Thank you for using the svn directly. Yes I wanted to release today but we found some more php8.2 stuff.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Darko F.

Hi
I try both solutions  by: Roderic and by: Milbo
And modules still didn't show correct categories,

VirtueMart 4.0.8 10748
Joomla! 3.10.2
php 7,4
There in no problem if you fall. Problem is if you don't get up

Milbo

You have my skype, I can send you the fixed module.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/