While creating my Custom Component i'm struggeling now on creating menu items for my views. The views are available via "/index.php?option=com_mycomponent&view=items" or "/index.php?option=com_mycomponent&view=item". But when trying to define a menu type inside the template the item will be available and can be saved but the link in frontend only shows "https://joomla4.local" the link column in the menu table shows the correct link:
See ID 224
<?xml version="1.0" encoding="utf-8"?> <metadata> <layout title="COM_EQUIPMENTMANAGER_ITEMS_VIEW_DEFAULT_TITLE"> <message> <![CDATA[COM_EQUIPMENTMANAGER_ITEMS_VIEW_DEFAULT_DESC]]> </message> </layout> </metadata>
I do not understand - its still all very basic (the views only shows a fixed text string at this point) - did i missed a link definition somewhere in my code? I reviewed it now several times and checked with another of my extensions but i cannot see where the difference is neither I have no clue what i have to search for.
Repository can be found here: https://github.com/marcorensch/EquipmentManagerComponent/tree/implement_site_menu