Issue Details (XML | Word | Printable)

Key: MDL-6820
Type: New Feature New Feature
Status: Open Open
Priority: Blocker Blocker
Assignee: Rossiani Wijaya
Reporter: Dan Poltawski
Votes: 17
Watchers: 10
Operations

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

Clickable Icons

Created: 04/Oct/06 07:43 PM   Updated: Tuesday 02:14 PM
Return to search
Component/s: Accessibility, Lib, Themes, Usability
Affects Version/s: 1.8
Fix Version/s: 2.0

File Attachments: 1. Text File 20091013_clickableicons.patch (3 kB)
2. Text File clickable_links.patch (4 kB)
3. Text File clickable_settings.patch (1 kB)

Issue Links:
Relates
 

Participants: Anthony Borrow, Dan Poltawski, Julian Ridden, Martin Dougiamas, Olli Savolainen and Rossiani Wijaya
Security Level: None
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
Many school users find the icons for activities and block menus unintuitive as they can't click them - there is not a link surrouding the images in the html.

This patch adds a new variable $CFG->clickable_icons, which allows many of the unclickable icons to be clickable - whilst allowing the previous behaviour to be kept.

When $CFG->clickable_icons is switched on, course activity icons are clickable, as are the course category icons in the all courses. As well as all block items which are links with icons.

Enabiling activity icons and course categories to be clickable is a fairly simple change to the code which displays them.

In order to make block links have clickable icons the code is slightly more hacky - if clickable icons are switched on a regular expression checks each block item with an icon to see if it starts with a link, extracts the link tag and puts it around the icon. I am not really sure if this could be done better with the way that moodle currently displays block items.

Dan.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dan Poltawski made changes - 25/Oct/06 10:57 PM
Field Original Value New Value
Attachment clickable_settings.patch [ 10281 ]
Dan Poltawski made changes - 10/Nov/06 07:06 PM
Fix Version/s 1.8 [ 10130 ]
Affects Version/s 1.7 [ 10120 ]
Affects Version/s 1.8 [ 10130 ]
Dan Poltawski made changes - 05/Dec/06 05:18 AM
Component/s Accessibility [ 10083 ]
Martin Dougiamas made changes - 31/Mar/07 02:18 AM
Fix Version/s 1.8.1 [ 10213 ]
Fix Version/s 1.8 [ 10130 ]
Martin Dougiamas made changes - 11/Jun/07 11:33 AM
Fix Version/s 1.8.2 [ 10220 ]
Fix Version/s 1.8.1 [ 10213 ]
Martin Dougiamas made changes - 08/Jul/07 10:41 PM
Fix Version/s 1.8.3 [ 10230 ]
Fix Version/s 1.8.2 [ 10220 ]
Martin Dougiamas made changes - 11/Oct/07 02:41 PM
Fix Version/s 1.8.4 [ 10242 ]
Fix Version/s 1.8.3 [ 10230 ]
Martin Dougiamas made changes - 12/Jan/08 05:40 PM
Fix Version/s 1.8.4 [ 10242 ]
Fix Version/s 1.8.5 [ 10252 ]
Eloy Lafuente (stronk7) made changes - 09/Apr/08 11:27 PM
Fix Version/s 1.8.5 [ 10252 ]
Fix Version/s 1.8.6 [ 10270 ]
David Horat made changes - 01/Jul/08 05:04 PM
Component/s Usability [ 10309 ]
Petr Skoda made changes - 06/Jul/08 08:08 AM
Fix Version/s 1.9.3 [ 10290 ]
Fix Version/s 1.8.6 [ 10270 ]
Martin Dougiamas made changes - 15/Oct/08 03:00 PM
Fix Version/s 1.9.4 [ 10300 ]
Fix Version/s 1.9.3 [ 10290 ]
Petr Skoda made changes - 22/Jan/09 02:35 AM
Fix Version/s 1.9.4 [ 10300 ]
Fix Version/s 1.9.5 [ 10320 ]
Petr Skoda made changes - 06/May/09 06:26 PM
Fix Version/s 1.9.5 [ 10320 ]
Fix Version/s 1.9.6 [ 10340 ]
Martin Dougiamas made changes - 01/Sep/09 01:47 PM
Assignee Martin Dougiamas [ dougiamas ] Rossiani Wijaya [ rwijaya ]
Rossiani Wijaya made changes - 13/Oct/09 01:15 PM
Attachment 20091013_clickableicons.patch [ 18609 ]
Martin Dougiamas made changes - 14/Oct/09 04:23 PM
Link This issue has been marked as being related by MDL-20557 [ MDL-20557 ]
Martin Dougiamas made changes - 21/Oct/09 04:17 PM
Fix Version/s 1.9.7 [ 10360 ]
Fix Version/s 1.9.6 [ 10340 ]
Martin Dougiamas made changes - 24/Nov/09 02:14 PM
Fix Version/s 2.0 [ 10122 ]
Fix Version/s 1.9.7 [ 10360 ]
Priority Major [ 3 ] Blocker [ 1 ]
Component/s Themes [ 10088 ]