Seng Ann
Seng Ann

Reputation: 11

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 to server my component did not appear in menu item.

Please help me.

Thank you.

Upvotes: 1

Views: 424

Answers (2)

Rahul TS
Rahul TS

Reputation: 1218

please use this joomla tutorial to get a complete reference of how to create joomla component

Upvotes: -1

Alex
Alex

Reputation: 6470

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');

Upvotes: 4

Related Questions