Moodle
  1. Moodle
  2. MDL-14061

Add Short Name for Categories and add theme option(s) for categories in the navigation bar

    Details

    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      There's been several requests (and hacks) for having the category trail in the breadcrumb trail. Now that categories have a proper edit screen this is potentially much easier. My proposal:

      • Add an additional (required?) field to the categories table - short name. (Need to think about what to do to fill the field initially, or perhaps just use the long one if no short)
      • Add an option in theme settings to extend the breadcrumb. I would have three options, 'off',' top category only', 'all categories'. Or perhaps just the category depth to display.

        Gliffy Diagrams

          Activity

          Hide
          Howard Miller added a comment -

          Oh... I'll do it if 'approved'

          Show
          Howard Miller added a comment - Oh... I'll do it if 'approved'
          Hide
          Eloy Lafuente (stronk7) added a comment -

          My initial +1 is here (I like the off/top/bottom/all switch), addressing this for 2.0 and assigning to MD.

          He has the decision on his hands...

          Thanks Howard! B-)

          Show
          Eloy Lafuente (stronk7) added a comment - My initial +1 is here (I like the off/top/bottom/all switch), addressing this for 2.0 and assigning to MD. He has the decision on his hands... Thanks Howard! B-)
          Hide
          David Scotson added a comment -

          Having shortnames for courses would also allow easy url redirects similar to those described by Martin here:

          http://moodle.org/mod/forum/discuss.php?d=93295#p412220

          e.g.

          http://moodle.org/showcategory/demo

          or similar could expand to

          http://moodle.org/course/category.php?name=demo

          and be equivalent to the current:

          http://moodle.org/course/category.php?id=2

          (assuming 'demo' was the shortname was assigned to the Moodle Demonstrations category)

          Show
          David Scotson added a comment - Having shortnames for courses would also allow easy url redirects similar to those described by Martin here: http://moodle.org/mod/forum/discuss.php?d=93295#p412220 e.g. http://moodle.org/showcategory/demo or similar could expand to http://moodle.org/course/category.php?name=demo and be equivalent to the current: http://moodle.org/course/category.php?id=2 (assuming 'demo' was the shortname was assigned to the Moodle Demonstrations category)
          Hide
          Nate Baxley added a comment -

          If I can comment, just to emphasis that Eloy added a fourth switch for which category(s) to show. I think that the bottom (most immediate) category is an important option.

          Show
          Nate Baxley added a comment - If I can comment, just to emphasis that Eloy added a fourth switch for which category(s) to show. I think that the bottom (most immediate) category is an important option.
          Hide
          Ray Lawrence added a comment -

          substituted "breadcrumbs" for navigation bar

          Show
          Ray Lawrence added a comment - substituted "breadcrumbs" for navigation bar
          Hide
          Eloy Lafuente (stronk7) added a comment -

          NOTE: This issue was assigned to the STABLE backlog without complete triaging process. Marking it as triaged, but with this note for future reference.

          Show
          Eloy Lafuente (stronk7) added a comment - NOTE: This issue was assigned to the STABLE backlog without complete triaging process. Marking it as triaged, but with this note for future reference.
          Hide
          Marina Glancy added a comment -

          We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible.

          ==BLK2YIMP20141121==

          Show
          Marina Glancy added a comment - We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible. ==BLK2YIMP20141121==

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: