I can create a component/module to fill main page area. I can even embed that in an article, and have that article attached to a Menu Item with the Menu Manager.

However, I want my component to appear as an select-able option in the Menu Item Type dialog (Menus: Edit Item, then click on SELECT in the Menu Item Type line).

Is there an XML entry or some other way of flagging my component so that it will appear in this dialog?

1 Answer 1


After you have created your models/views, you need the respective .xml file for each of your view's templates that you want to add a menu item.

See for example the com_content component.

Go into: components/com_content/views/article/tmp

There you will see default.php which is the template file and default.xml which is the xml that defines the menu item for that template/layout.

Read also:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.