My component has a number of views that can/should only be used from within the component, and never appear on the list of Menu Item Types to be added to a menu.

To prevent confusion, how does one prevent a particular view from appearing on that list. I've tried hiding/renaming what I deemed to be relevant files, but to no avail, so haven't been able to determine which file(s) are actually being used to populate that list.

1 Answer 1


This should be driven by xml files in the tmpl folder of the view. So for the default.php layout, you typically add a default.xml file to the same folder to make that layout available as a menu item.

Don't include the xml file and you should not see it in the options list when adding a menu item.

  • ARRGH...got all caught up in the metadata XML in the view folder....that did it, and thanks for the slap in the face to wake me up, lol.
    – GDP
    Aug 18, 2014 at 18:15
  • I'm glad that was it, because otherwise I was going to have no idea... Aug 18, 2014 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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