I want to create a custom com_tags/tags layout, however I need to keep the parent_id field for the menu item.
What I have done is create:
/templates/mytemplate/html/com_tags/tags/species.php
/templates/mytemplate/html/com_tags/tags/species.xml (copied from administrator/components/tags/config.xml)
This shows a "Species" entry in the menu type popup, however none of the customisation fields is there anymore. I need the parent_id field, which is on the "List of all tags" entry.
I debugged the code and apparently I need
/templates/mytemplate/html/com_tags/metadata.xml
which seems to need to contain some sort of "menu" entry. I can't find any example of how this should be formatted.
This is an example file from Akeeba backup https://github.com/akeeba/contactus/blob/master/component/frontend/views/item/metadata.xml but I cannot figure out how to add options here?