install stock joomla 3.7.2, with learning Joomla sample data
Create view=featured menu item (Featured-A), showing category "Content modules" (Itemid=471)
Create another view=featured menu item (Featured B), showing category "Display modules" (Itemid = 472 )
In an article from category "Content modules" (ie displayed with Itemid 471), create 2 links:
index.php?option=com_content&view=featured&Itemid=471 (Featured A, Content Modules)
and
index.php?option=com_content&view=featured&Itemid=472 (Featured B, Display Modules)
index.php?option=com_content&view=featured&Itemid=471
and
index.php?option=com_content&view=featured&Itemid=472
In all cases, links go to the "Content modules" and the "Display modules" featured views, respectively.
On the Featured A view, the first link goes to home page, the second link is correct and goes to "Display modules"
On the Featured B view, it's the opposite, the first link is correct, the second link goes to home page.
What's happening is that when the link Itemid is the same as the current page Itemid, the router tries to "fix" the Itemid, by searching a more suitable one, but because the standard Joomla install home page is also a featured view, it uses the home page Itemid (which is first in the list of menu items) instead of leaving the it alone.
Labels |
Added:
?
|
Category | ⇒ | Router / SEF |
Status | New | ⇒ | Information Required |
Hi
Just verified that the same issue still appears on Joomla 3.7.4.
Rdgs
@weeblr can you please test 3.8 on this Issue?
Hi
I tested this with j38 beta 3 and can make the following comments:
Rgds
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-29 04:42:36 |
Closed_By | ⇒ | franz-wohlkoenig |
closed as having Pull Request #17746
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16774
Router > 3.8 > Lead @mbabker