Comment 2 for bug 1449770

Revision history for this message
Robert Lyon (robertl-9) wrote :

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