Issue Details (XML | Word | Printable)

Key: MDL-14061
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Martin Dougiamas
Reporter: Howard Miller
Votes: 3
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 26/Mar/08 06:51 PM   Updated: 08/Feb/09 12:05 AM
Return to search
Component/s: Administration, Themes
Affects Version/s: 1.9, 2.0
Fix Version/s: 2.0

Participants: David Scotson, Eloy Lafuente (stronk7), Howard Miller, Martin Dougiamas, NateBaxley and Ray Lawrence
Security Level: None
Affected Branches: MOODLE_19_STABLE, MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Howard Miller added a comment - 26/Mar/08 06:51 PM
Oh... I'll do it if 'approved'

Eloy Lafuente (stronk7) added a comment - 27/Mar/08 04:35 AM
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-)


David Scotson added a comment - 28/Mar/08 12:20 AM
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)


NateBaxley added a comment - 23/Aug/08 04:52 AM
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.

Ray Lawrence added a comment - 08/Feb/09 12:05 AM
substituted "breadcrumbs" for navigation bar