Hi there,
I've added a new link to my Site Navigation block (Moodle 2.3) by using a local plugin as follows:
function logout_extends_navigation(global_navigation $navigation) {
global $CFG;
$logout_node = $navigation->add('Logout', new moodle_url($CFG->wwwroot . '/login/logout.php'), 'Logout', 1000);
}
This adds my new link to the bottom of Site Navigation tree, but I want it just below the "Home" or "My Home" link. Is there a way to move it?
Much appreciated.
Barry