I have a Joomla 4 site; using Helix Ultimate Framework template.
I have an article and I need to link the same article from two different menu items and each menu item must use a different layout.
I started copying the templates/shaper_helixultimate/html/com_content/article/default.php file to templates/shaper_helixultimate/html/com_content/article/mylayout.php
I duplicated also the xml associated to it so that I defined the custom menu item type.
Then when I created a new menu item, and select the "Menu Item Type", I saw also my custom menu layout "My Layout". So I created two different menu items, the first that uses the default layout, the second that uses the mylayout layout. If I browse to the 2 different links they works correctly. So I made the same for other articles.
Now consider that I have also another menu item of type Blog Content Category. The Blog items, in the category page, resulted linked the the custom layout url, instead of the default one (I think because it is the last I defined) Is there a way so that in the blog content category view the system assign es the url defined in the menu item using default layout?
Kind regard, Matteo