The latest version return an empty categories array on the front end modules.
For testing replace in modules\mod_virtuemart_category\mod_virtuemart_category.php
//$categories = $categoryModel->getChildCategoryList($vendorId, $category_id);
$categories = $categoryModel->getCategoryTree(0,0,false,'');
Any idea?
Seems to be a vendor Id problem
Thanks Milbo.
I temporarily solved with a custom recursive function to return the needed data on my module.
getCategoryTree (http://docs.virtuemart.net/api-vm2/de/da1/administrator_2components_2com__virtuemart_2models_2category_8php_source.html#l00153) not touch the Vendor ID param. An additional input where investigate can be appreciate.
Please try vm3.0.3 should be fixed there, was a cache problem
Milbo says:
QuotePlease try vm3.0.3 should be fixed there, was a cache problem
I use vm3.0.8 and the problem is clearly there
$categoryModel->getCategoryTree(117,0)
returns an empty array (117 is th id of one of my categories with subcategories)
$categoryModel->getCategoryTree()
returns an empty array... !!
So, where's the fix of VirtuMart's getCategoryTree?
? this thread was just a small bug, please report bugs about http://dev.virtuemart.net/attachments/download/1049/com_virtuemart.3.0.19.2_extract_first.zip