News:

Support the VirtueMart project and become a member

Main Menu

Menu tab won't go to VirtueMart

Started by jkbiggs, July 15, 2013, 21:16:23 PM

Previous topic - Next topic

jkbiggs

I'm using Joomla 1.5; downloaded VirtueMart 2.0.22a.  When I click on the menu tab for the store, I get this message:  Fatal error: Call to a member function get() on a non-object in /home/thunderb/public_html/components/com_virtuemart/views/virtuemart/view.html.php on line 165.

My url is beta.thunderbeachproductions.com

I'm not sure what is missing.

Thanks

Fernando Soares

Hi,

I solved this... see how:

Edit the "view.html.php" file located at folder "/components/com_virtuemart/views/virtuemart" and at line 165 change from:

$menuTitle = $menu->params->get('page_title');


To:

$params1 = new JParameter($menu->params);
$menuTitle = $params1->get('page_title');


Note: VirtueMart 2.0.22a / Joomla! 1.5.26

Reference: Can't set custom Page Title in Item Menu ( VM Front Page )
Fernando Soares - Joomleiros Brasil!
Espeshitpillta em Joomla! e VirtueMart
Website: http://www.fernandosoares.com.br
Twitter: http://twitter.com/fernando_soares