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
To test:
Add this code to htdocs/ local/lib. php
function local_main_ nav_update( &$menu) { 'support' ] = array( docs.myportfoli o.school. nz/',
$menu[
'path' => 'support',
'wwwroot' => 'http://
'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