moodle-an-hochschulen / moodle-local_boostnavigation

Moodle plugin which tries to overcome some fixed appearance behaviours of Boost's nav drawer in a clean way
GNU General Public License v3.0
39 stars 28 forks source link

Content Bank not being made active #87

Closed hugoacfs closed 8 months ago

hugoacfs commented 3 years ago

Thank you for adding a new feature 8cfc30a to enable content bank to sit under the course nodes section.

I'm moving to Moodle 3.9 soon and I will be using this feature, but I noticed that when selected, users do not see Content Bank highlighted as active (see screenshot).

image

I wondered whether it would be possible to make it active, and not the course node parent? I tried adding something like this after line 474 in the lib.php file:

// Make the content bank tab active.
if ($PAGE->pagetype == 'contentbank') {
    $contentbanknode->make_active();
}

This is what I got: image

I wonder if you know a way of making it work so that the 'XS_COURSE' tab is no longer active, and the breadcrumbs do not show a repeat of 'Content Bank'.

I hope this is useful. Regards, Hugo

abias commented 8 months ago

This plugin has finally reached end of life now and will not be upgraded to Moodle 4.x.

I would like to invite you to have a look at our Moodle 4 theme theme_boost_union which supports several aspects of this plugin's feature set and is actively maintained and extended. Thank you for your understanding.

Against this background, I will close this issue.