Project

General

Profile

Actions

Feature proposal #7909

closed

Improve SEF URL construction to better utilize menu Itemids

Added by krileon over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03 April 2020
Due date:
% Done:

100%

Estimated time:

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

Actions #1

Updated by krileon over 4 years ago

This maybe resolved by proposed change in #7911.

Actions #2

Updated by krileon over 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by krileon over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF