Issue Details (XML | Word | Printable)

Key: MDL-11797
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Mathieu Petit-Clair
Reporter: Ralf Hilgenstock
Votes: 1
Watchers: 4
Operations

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

block/tags and block/blog_tags

Created: 17/Oct/07 05:26 AM   Updated: 10/Jul/08 04:02 AM
Return to search
Component/s: Administration, Blog
Affects Version/s: 1.9
Fix Version/s: 2.0

Issue Links:
Relates
 

Participants: Helen Foster, Martin Dougiamas, Mathieu Petit-Clair and Ralf Hilgenstock
Security Level: None
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
Both standard blogs have nearly the same function. As far as I see the block 'tags' shows tags from interests and from blogs. The block 'blog_tags' only shows the tags from blogs.

I can't see the sense in such similar blocks.
It wil be better to delete one block and to add an option in settings ofthe block to choose which tags are shown in the block.



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Helen Foster added a comment - 28/Dec/07 01:34 AM
Reassigning to tags expert Yu

Helen Foster added a comment - 28/Dec/07 01:35 AM
I'm in agreement with Ralf that we don't need a tags block AND a blog tags block. Let's simply have a tags block.

Martin Dougiamas added a comment - 21/Feb/08 05:35 PM
As long as we "add an option in settings of the block to choose which tags are shown in the block" then I agree.

Mathieu Petit-Clair added a comment - 25/Mar/08 11:15 AM
This might not be a big job, but it's worth doing it right. Both blocks are now using the same css classes, but the links are different (blogs requires a bit more information in the url). A new block putting both together should also be extensible, so that other entities can use it (courses, eventually). It's worth thinking about which other useful settings could be offered to the users.

Some ideas :

  • a "max block width" could be useful for theming, as tags can be quite large (like 50 chars), which can disrupt fixed-width themes
  • "only show my tags"
  • order by date or popularity
  • show as tagcloud (different font sizes) or as plain list (same font size for all tags)

Mathieu Petit-Clair added a comment - 08/Apr/08 11:16 AM
This would be a good opportunity to add a parameter $type to print_tag_cloud, or type either string or array, which would contain the type of the tags to show ('user', 'blog' .. 'bookmark', etc.). An array would make it possible to use many types together ("only show tags used by the current user on a blog", etc.). This would make it possible to display a tag cloud of a user tags on his profile, instead of the current list.