We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in previous MenuHelper (this works):
Line 261: // Remove locale part before comparing links if ($this->_View->request->param('locale')) { $currentUrl = substr($this->_View->request->url, strlen($this->_View->request->param('locale') . '/')); } else { $currentUrl = $this->_View->request->url; }
In Latest MenuHelper (this does not work): Line 285:
// Remove locale part before comparing links if ($this->getView()->getRequest()->getParam('locale')) { $currentUrl = substr($this->getView()->getRequest()->getPath(), strlen($this->getView()->getRequest()->getParam('locale') . '/')); } else { $currentUrl = $this->getView()->getRequest()->getPath(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
in previous MenuHelper (this works):
Line 261:
// Remove locale part before comparing links
if ($this->_View->request->param('locale')) {
$currentUrl = substr($this->_View->request->url, strlen($this->_View->request->param('locale') . '/'));
} else {
$currentUrl = $this->_View->request->url;
}
In Latest MenuHelper (this does not work):
Line 285:
// Remove locale part before comparing links
if ($this->getView()->getRequest()->getParam('locale')) {
$currentUrl = substr($this->getView()->getRequest()->getPath(), strlen($this->getView()->getRequest()->getParam('locale') . '/'));
} else {
$currentUrl = $this->getView()->getRequest()->getPath();
}
The text was updated successfully, but these errors were encountered: