mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #26576
[Bug 1449770] Re: Allow main navigation to have an external link
To test:
Add this code to htdocs/local/lib.php
function local_main_nav_update(&$menu) {
$menu['support'] = array(
'path' => 'support',
'wwwroot' => 'http://docs.myportfolio.school.nz/',
'url' => 'index.html',
'title' => 'External link',
'weight' => 50,
);
}
You should see a new link in the menu called 'External link' - before
patch the link should fail - afterwards it should work correctly
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1449770
Title:
Allow main navigation to have an external link
Status in Mahara ePortfolio:
In Progress
Bug description:
Currently the main (top) navigation in Mahara appends the site's
wwwroot to the url given in the menu array.
However the right side navigation lets one specify a different wwwroot
for a menu item to allow for external links.
We need to add this functionality to the top navigation as well to
allow better integration of mahara within other web systems.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1449770/+subscriptions
References