No Code Attached Yet
avatar pioada
pioada
12 Oct 2023

Steps to reproduce the issue

I need 2 news categories (each for different school type) and one category to show all news.
I created category "news" with all news and used tags to split them for different school types.
Menu structure:

  • News (all)
  • School type 1:
    • News of school type 1 (with tag 'School type 1').
  • School type 2:
    • News of school type 2 (with tag 'School type 2').

It separates articles well but in "News of school type 1" and "News of school type 2" menu element (category view) all links to articles redirects to "News (all)" menu item.
It looks like Itemid is not used.

Expected result

All links to articles should keep Itemid (current menu item).
System should try to find link for current Itemid first, and if not found then search all menus for best fit.

Actual result

System dont use Itemid, it always takes first menu item with category "news" and redirect to that element. That changes SEF URL, breadcrumbs, etc.

System information (as much as possible)

Joomla 4.3.4

Additional comments

avatar pioada pioada - open - 12 Oct 2023
avatar joomla-cms-bot joomla-cms-bot - change - 12 Oct 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Oct 2023
avatar pioada pioada - change - 12 Oct 2023
The description was changed
avatar pioada pioada - edited - 12 Oct 2023
avatar pioada pioada - change - 12 Oct 2023
Title
Router dont use Itemid
Router doesnt use Itemid
avatar pioada pioada - edited - 12 Oct 2023
avatar pioada pioada - change - 12 Oct 2023
Title
Router doesnt use Itemid
[4.3.4] Router doesnt use Itemid
avatar pioada pioada - edited - 12 Oct 2023
avatar pioada pioada - change - 13 Oct 2023
The description was changed
avatar pioada pioada - edited - 13 Oct 2023
avatar pioada pioada - change - 13 Oct 2023
The description was changed
avatar pioada pioada - edited - 13 Oct 2023
avatar Hackwar Hackwar - change - 22 Mar 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-03-22 21:43:06
Closed_By Hackwar
avatar Hackwar Hackwar - close - 22 Mar 2024
avatar Hackwar
Hackwar - comment - 22 Mar 2024

This is actually expected behavior. The tags don't influence the routing and if you want to achieve what you describe, you have to create 2 subcategories in your news category and link them in the respective menu item. Since this is expected behavior, I'm closing this issue.

Add a Comment

Login with GitHub to post a comment