I'm currently in the process of building a plugin, but for some reason it's impossible for me to get the plugin to show up in the navigation.
In the file mod/signature/lib.php I've got the following code:
function signature_extend_navigation($navigation, $course, $module, $cm) {But this doesn't seem to be working. According to the documentation and an example module I've downloaded, this should be the way to go, so what's wrong here? Why won't this make my plugin show up?
global $CFG;
$target = $CFG->wwwroot.'/mod/signature/index.php';
$navigation->add('Digitaal ondertekenen', $target, navigation_node::TYPE_RESOURCE, null , null, new pix_icon('i/group' , ''));
}