Hello @ll!
I'm following this tutorial:
http://dev.joomla.org/component/option,com_jd-wiki/Itemid,/id,components:hello_world_mvc4
but I don't understand something.
When I put the files in administrator/component/com_hello I can not access my component from the backend.
There is no button that I can click on.
Sure I can write the address "index.php?option=com_hello" and there it is, but why I don't have a button?
I understand that the button is created from the xml file or?
So I put the xml file in adminsitrator/component/com_hello and I don't have my button.
If I install the component and then delete this hello.xml - the button is still there.
I make refresh after refresh and nothing change.
Can someone please explain me what am I doing wrong?
Greetings!
Admin interface component->button
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
Admin interface component->button
Well, now I will try to develop extensions 

- manuman
- Joomla! Enthusiast
- Posts: 211
- Joined: Fri Aug 12, 2005 1:58 am
- Location: Albany - Western Australia
- Contact:
Re: Admin interface component->button
I'm assuming your asking about he link to the component in the Components menu.
This link is created during installation. Joomla!'s installer reads the xml file and creates the link (if your interested its in the components table in the database). Once its there removing the xml will not remove the link, only uninstalling the component can do that.
Short of installing the component the only other way to create the link is to add it to the components table manually. For example, you may do this when developing a component.
Cheers
Shayne
This link is created during installation. Joomla!'s installer reads the xml file and creates the link (if your interested its in the components table in the database). Once its there removing the xml will not remove the link, only uninstalling the component can do that.
Short of installing the component the only other way to create the link is to add it to the components table manually. For example, you may do this when developing a component.
Cheers
Shayne
Core Team Member :: Project Manager & Foundation WG Coordinator
OSM Board Member :: Treasurer
Vote for Joomla! http://www.packtpub.com/nominations-homepage
OSM Board Member :: Treasurer
Vote for Joomla! http://www.packtpub.com/nominations-homepage
Re: Admin interface component->button
Thank you!
I get it.
Does that also mean that later if I add submenu as hello->submenu1
hello->submenu2 I will have to install my extension again? Or it will be automatic updated?
I get it.
Does that also mean that later if I add submenu as hello->submenu1
hello->submenu2 I will have to install my extension again? Or it will be automatic updated?
Well, now I will try to develop extensions 

- manuman
- Joomla! Enthusiast
- Posts: 211
- Joined: Fri Aug 12, 2005 1:58 am
- Location: Albany - Western Australia
- Contact:
Re: Admin interface component->button
Easiest is to manually add a row to the components table ensuring you have the parent field set to the id of the top level component. If you have several sub menu items you can use the ordering field to set their order.
Core Team Member :: Project Manager & Foundation WG Coordinator
OSM Board Member :: Treasurer
Vote for Joomla! http://www.packtpub.com/nominations-homepage
OSM Board Member :: Treasurer
Vote for Joomla! http://www.packtpub.com/nominations-homepage