VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: isaac7 on July 26, 2016, 10:10:30 AM

Title: menu problem, help plz!
Post by: isaac7 on July 26, 2016, 10:10:30 AM
I don't understand why Virtuemart is so complicated! I uninstalled it a while ago and I had a lot of problems removing it fully and now it still making problems in my joomla:

Whenever I make a new menu item, the default link for the menu item automatically shows as:

www.SITENAME.com/com_virtuemart_menu_store/com_virtuemart_menu_store/Menu's Name


What should I do to stop it adding this com_virtuemart_menu_store/com_virtuemart_menu_store to any menu I make??

Thanks

Title: Re: menu problem, help plz!
Post by: GJC Web Design on July 26, 2016, 11:53:31 AM
Make a menu to the VM home page - hidden or otherwise - call it what u want
Title: Re: menu problem, help plz!
Post by: isaac7 on July 26, 2016, 12:26:50 PM
I'm not sure if you understand what I mean, maybe I explained it bad. what odes making a menu item to VM Homepage does to solve my problem?

I made a menu item with external url and linked to VM, but nothing changed.
Title: Re: menu problem, help plz!
Post by: jenkinhill on July 26, 2016, 12:53:11 PM
So it sounds like you have not uninstalled VM completely, including removing the db tables.  Removal advice is in http://forum.virtuemart.net/index.php?topic=134060.msg465429#msg465429
Title: Re: menu problem, help plz!
Post by: isaac7 on July 26, 2016, 13:08:39 PM
in the past I uninstalled VM in a wrong way so a thing remained in my plugins list and everytime I tried to remvoe it, it said you have to install vm core first. so I used the instructions and removed all vm tables from DB and all folders from ftp. what else could be the root of problem?

I don't undestand why when I want to make a menu for example for a category in my website, it add this com_virtuemart_menu_store/com_virtuemart_menu_store  to the address?
Title: Re: menu problem, help plz!
Post by: GJC Web Design on July 26, 2016, 17:29:24 PM
stray menus still in DB?

check in menus table and remove all with com_virtuemart?
Title: Re: menu problem, help plz!
Post by: isaac7 on July 27, 2016, 01:31:19 AM
It worked. I'm very happy!  ;D ;D Thank You so much!
Title: Re: menu problem, help plz!
Post by: Milbo on July 27, 2016, 09:29:24 AM
I added

$q = 'DELETE FROM #__menu WHERE `link` = "%option=com_virtuemart%" ';
$db->setQuery($q);
$db->execute();


To the function removeAllVMTables to prevent this.