Feature proposal #7909
closedImprove SEF URL construction to better utilize menu Itemids
Description
Currently group links when using SEF typically just use the first available GJ menu item. This needs to be more accurate. CBs core Itemid function likely can't handle the desired usage so likely needs to be extended to support testing against fallback cases. The below ideally is how it should be constructing.
1. Does the group have a menu item directly? Yes, then use it. No, then continue.
2. Does the group have a category? Yes, then check if a Category menu item exists and use it. No, then continue.
3. Does the group belong to me? Yes, then check if My Groups menu item exists and use it. No, then continue.
4. Does an all groups menu item exist? Yes, then use it. No, then fallback to profile Itemid.
https://www.joomlapolis.com/forum/255-developer-members-support/242305-groupjive-router#317550