Search code examples
joomla1.5joomla-extensionsvirtuemartjoomla-template

add Menu type for Virtue Mart component in Joomla


I installed VM manually and the menu type is missing from the list. How can i add this manually. I understand i have to use views but i don't have a views folder for the component.Do i need to create a view for it if so how do i need to go about it.


Solution

  • Look in the jos_components table and see if you have a record for VM. If not, then use this -

    INSERT INTO `jos_components` (`name`, `link`, `menuid`, `parent`, `admin_menu_link`, `admin_menu_alt`, `option`, `ordering`, `admin_menu_img`, `iscore`, `params`, `enabled`) VALUES
    ('VirtueMart', 'option=com_virtuemart', 0, 0, 'option=com_virtuemart', 'VirtueMart', 'com_virtuemart', 0, '../components/com_virtuemart/shop_image/ps_image/menu_icon.png', 0, '', 1);