VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: imageinaction on August 29, 2012, 21:54:27 PM

Title: [ SOLVED ] Assigned VirtueMart components to menus
Post by: imageinaction on August 29, 2012, 21:54:27 PM
I have one of the two following 'info' messages on every page of my website:

M_VIRTUEMART_ASSIGN_VM_TO_MENU

This occurred after I deleted a menu that had previously been assigned to Virtumart. I deleted the menu from the waste bin as well but the message will not go away.

I'm using virtuemart.2.0.10 - maximenuck_6.0.14_j25 - Joomla 2.5.6[/font]

[attachment cleanup by admin]
Title: Re: Assigned VirtueMart components to menus
Post by: ivus on August 29, 2012, 21:58:59 PM
Hi imageinaction,

Not sure where the confusion here is.

Info: Assign the component VirtueMart to a menu item
-- what you should do is assign the component VirtueMart to a menu item

It'll use this menu item to generate the SEF URL.
Title: Re: Assigned VirtueMart components to menus
Post by: imageinaction on August 29, 2012, 22:11:26 PM
Thanks for a very speedy reply. My problem is that I wanted to 'de-assign' this particular menu item, I had applied an alternative assignment to this menu when these errors appeared. I then deleted the offending menu and created a new one but the error is still there???


Any advise you can offer will be great! :-[
Title: Re: Assigned VirtueMart components to menus
Post by: ivus on August 29, 2012, 22:34:38 PM
Like the instruction says... assign it to a menu. It has to be done in order to get rid of the message. What part of this is confusing?

If you don't want the menu to show, create a new Menu called HIDDEN, and then create an item in that. LEAVE IT ALONE... don't assign it to any pages or modules.
Title: Re: Assigned VirtueMart components to menus
Post by: imageinaction on August 30, 2012, 00:06:29 AM
That did the trick ... Thanks
Title: Re: Assigned VirtueMart components to menus
Post by: oodya on November 27, 2012, 20:25:03 PM
Hi,

I checked the suggestion and created a menu called 'HIDDEN', but now my urls are now showing as the following:

www.website.com/hidden/categoryname/productdetail

Does anyone know how to remove the 'hidden' section from the url?

Many thanks
Title: Re: Assigned VirtueMart components to menus
Post by: jenkinhill on November 27, 2012, 23:21:42 PM
Nooooooo...   Standard Joomla technique. Create a new menu - like main or user - and call it hidden,  create a module for that menu and assign it to a non-existent user position on your Joomla template. Then add your menu item/link to that hidden menu. It is published in the sytem but not visible.
Title: Re: Assigned VirtueMart components to menus
Post by: oodya on November 28, 2012, 10:16:26 AM
Hi,

Thanks for the reply, but I think I'm getting confused somewhere.

At the moment I have created a 'HIDDEN' menu.  Now when I click on 'Menus' - 'Menu Manager' I can see:

'Main Menu', 'Footer Menu', 'Mobile Menu', 'User Menu' and 'Hidden'.

After creating 'Hidden', I went to 'Extensions' - 'Module Manager'.

Here I created a new module called 'HIDDEN' - the position is 'banner1', the type is 'Menu' and the status is 'Published'.

I then went to 'Menus' selected the 'HIDDEN' menu and clicked on 'Add New Menu Item'.  I assigned a Virtuemart -> Category Layout to this.

But unfortunately, as the position that this menu is assigned to is not used, the menu does not appear.

I feel that I am doing something wrong - can someone please help?

Many thanks

Title: Re: Assigned VirtueMart components to menus
Post by: jenkinhill on November 28, 2012, 11:27:04 AM
This thread was about hiding an assigned  menu item - but you seem to want to actually show a menu item? That's what can happen when you hijack a thread about something else.

The only menu item you usually need for VirtueMart should be a main menu link to the VirtueMart front page, maybe called something like "Shop".