Joomla Asked by Mano Meter on December 30, 2021
I want to add a media-field to the menus settings to pick an image for each menu item and output this as open graph images. I see two options:
librariessrcDocumentRendererHtmlHeadRenderer.php
. But i do not know where i can add fields to that tab.To add the fields to the com_menus item Metadata
tab, you would need to write a content plugin to inject the fields.
Your Option 2 sounds clunky. In this case, I expect you would need to create a new filed in your category layout xml, then instantiate menus, loop through categories and insert into the menu based on the category IDs. Option 1 is the go-to solution for this problem.
Answered by Grant G on December 30, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP