When hovered over Forgot Password Itemid is not supposed to be added to the link.
http://www.yoursite.com/component/users/?view=reset
Starting from Joomla 3.7, this gets added automatically and the component area is not shown.
http://www.yoursite.com/component/users/?view=reset&Itemid=101
Joomla 3.7
NA
Category | ⇒ | Authentication com_login com_modules |
Status | New | ⇒ | Expected Behaviour |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-07 06:28:03 |
Closed_By | ⇒ | franz-wohlkoenig |
closed as expected Behaviour.
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/17431
I have been using Joomla since 2009 and I have never created menu item for it.
This is happening since J3.7 and it cannot be a expected behavior.
Before J3.7, Itemid=101 will not be added.
The Itemid may not have been explicitly added to the URL when generating it before 3.7, but when visiting the URL you gave without the Itemid the system internally would end up resolving the default menu item anyway if it couldn't find a menu item for your requested page. So the only thing that has changed is the Itemid that would be resolved when visiting a page is now more proactively included when building URLs.
I discovered this yesterday when moving to v3.8.6. The code that does this is in libraries\src\Component\Router\Rules\MenuRules.php
in preprocess
method:
// If not found, return language specific home link
$default = $this->router->menu->getDefault($language);
if (!empty($default->id))
{
$query['Itemid'] = $default->id;
}
This happens because you haven't created a menu item for it. Since Joomla needs a menu item it loads in the homepage menu item.
It's not a bug, it's how Joomla! Works otherwise it wouldn't know what modules to load. You just need to create a login type men item.