\nid(INT) Primary key.\n
#__extensions
table. (But emptying this field doesn’t seem to have any effect).\n
\nScenarios:
\nMenu type => ’main’ client_id =>’1’, published=> 1/0: In this case menu is only displayed in the back end. Published value has no effect.
\nMenutype=> ‘mainmenu’, ‘client_id’=>1, published=>1: The menu is displayed in both back end and front end. Published value determines its visibility. Whether the ‘menutype’ value is ‘main’ ,’mainmenu’, ‘top-menu’ … has no effect on its visibility in back end – only ‘client_id’ matters.
\nMenutype=> ‘mainmenu’, ‘client_id’=>1, published=>0: Has the same effect for admin side as the scenario above. But in front side, the menu is not visible (with published state 0).
Reputation: 1747
I want to add a menu for a new component in a development stage. Since it is not ready for installation, I didn't create manifest (xml) file. I just want to add a menu item among components in the backend directly from the DB.
I got the information here. But it is for joomla 1.5 - the table it mentions doesn't exist in joomla 2.5, so (obviously) it doesn't work.
Any ideas to do the same thing in joomla 2.5?
Upvotes: 1
Views: 4147
Reputation: 1747
There is a DB Table called #__menu
in the joomla installation database. The function of each column is stated below.
#__extensions
table. (But emptying this field doesn’t seem to have any effect).
Scenarios:
Menu type => ’main’ client_id =>’1’, published=> 1/0: In this case menu is only displayed in the back end. Published value has no effect.
Menutype=> ‘mainmenu’, ‘client_id’=>1, published=>1: The menu is displayed in both back end and front end. Published value determines its visibility. Whether the ‘menutype’ value is ‘main’ ,’mainmenu’, ‘top-menu’ … has no effect on its visibility in back end – only ‘client_id’ matters.
Menutype=> ‘mainmenu’, ‘client_id’=>1, published=>0: Has the same effect for admin side as the scenario above. But in front side, the menu is not visible (with published state 0).
Upvotes: 4
Reputation: 8282
Try This,
On Joomla 1.6 onwards the component details storing table is #__extensions
Also you have set the details #__menu
table too.
Hope this may help you..
Upvotes: 1