Closed abias closed 2 years ago
I tried to implement this change, but was not successful. As the theme_boost_campus_infobanner_reset_visibility() function is called as a callback function when saving the Boost campus settings page, changing the way how the notification is built would output the notification during the redirect and not on the following page anymore.
On https://github.com/moodleuulm/moodle-theme_boost_campus/blob/master/lib.php#L228-L233, a notification banner is rendered.
Unfortunately, this notification banner has a close button which does not really make sense. But implementing the notification banner differently, the close button can be removed. See https://github.com/moodleuulm/moodle-local_profiletheme/blob/master/classes/profilefields.php#L220-L223 for a working example.