Build New Joomla Component
I have create new joomla component and I have a problem with menu item for my new component. In local my component is work correctly, but when I uploaded开发者_JS百科 to server my component did not appear in menu item.
Please help me.
Thank you.
You are probably missing a record for you component in jos_components table in database on the server.
Having record in jos_components will make link in Back End -> Main Menu -> Components -> You Component
Modify the query below and execute run in it on the server's database.
INSERT INTO jos_components (`name`, `link`, `menuid`, `parent`, `admin_menu_link`, `admin_menu_alt`, `option`, `ordering`, `admin_menu_img`, `iscore`, `params`, `enabled`)
VALUES ('You Component name', 'option=com_mycomp', '0', '0', 'option=com_mycomp', 'Menu Text', 'com_search', '0', 'js/ThemeOffice/component.png', '0', '', '1');
please use this joomla tutorial to get a complete reference of how to create joomla component
精彩评论