moodle-an-hochschulen / moodle-theme_boost_union

Theme Boost Union is an enhanced child theme of Boost which is intended, on the one hand, to make Boost simply more configurable and, on the other hand, to provide helpful additional features for the daily Moodle operation of admins, teachers and students.
GNU General Public License v3.0
55 stars 49 forks source link

Allow to include course short name in breadcrumb #572

Open snack753 opened 4 months ago

snack753 commented 4 months ago

In previous 3.x versions moodle showed the course short name at the end of the breadcrumbs. I am happy you brought the breadcrumbs back to Moodle 4, however it does not include the course short name at the end.

Describe the solution you'd like I would love to have an additional setting to the option to display the category breadcrumbs in the course header. I could imagine two options:

  1. As soon as the setting categorybreadcrumbs is set to "yes" an additional option field shows up that allows to select between Include course short name in breadcrumb : Yes/No
  2. modify the options for categorybreadcrumbs to: No/Yes without course shortname/Yes, including course short name
pd431 commented 4 months ago

I'd like to second this.

We've had a lot of feedback from academics and users that the changing behaviour of breadcrumbs between activity and regular page is confusing, and having/enforcing consistent breadcrumbs may help navigation and accessibility.

stdoma commented 4 months ago

Hello! I would also like it if breadcrumb navigation was consistent across activities and the course.

@snack753 The code can be quickly adjusted for a quick solution. File: theme\bost_union\classes\boostnavbar.php - Function: function prepare_nodes_for_boost() Comment out the node removal function: $this->remove($this->page->course->id, \breadcrumb_navigation_node::TYPE_COURSE);

lucaboesch commented 3 months ago

Hi @snack753. Please consider voting for https://tracker.moodle.org/browse/MDL-79469 in Moodle Tracker. That would add the short name of the course in the course index, which could help your users, too.

wiebkemueller-hsh commented 2 months ago

See also #551 which basically addresses the same problem! Boost Union support agreed on that a solution for this is writing the course short name in the course index (see also moodle tracker 79469 in the comment above). but actually this would be better fixed by core. so please vote all!