vm v2.06 stable
* Category Model:
around line 729, shouldn't it be
JFactory::getApplication()->getMenu();
instead JSite?
public function getParentsList($virtuemart_category_id) {
$db = JFactory::getDBO();
//$menu = JSite::getMenu();
$menu = JFactory::getApplication()->getMenu();
getting
"""Class 'JSite' not found in /home/.../public_html/administrator/components/com_virtuemart/models/category.php on line 729"""
otherwise.
joomla version?
Joomla! 2.5.4
Model is used by another (external) component for category listing retriving.
Hmmm interesting, look here
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=28088
Quote
Display menu item in front-end.
Generally speaking, changing
$menu = JSite::getMenu();
by
$menu = JFactory::getApplication()->getMenu();
wherever it is used.
fixed at 3 places in the code.