Moodle

Make tags block context-dependent and add link to All Tags

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.5
  • Fix Version/s: 2.0
  • Component/s: Blog, Tags
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

For example, if you are looking at a course page, the tags block shows a tag cloud of all the tags for that course only. Same for site, user, group, module etc.

Issue Links

Activity

Hide
Jon Bolton added a comment -

It would be great if the tags block could appear on tag pages when they are created. It would be a bonus if that could be configurable... like a sticky block.

Show
Jon Bolton added a comment - It would be great if the tags block could appear on tag pages when they are created. It would be a bonus if that could be configurable... like a sticky block.
Hide
Tim Hunt added a comment -

blog_menu and blog_tags blocks currently do really confusing things with contexts.

Note that, as explained in http://docs.moodle.org/en/Development:Migrating_your_code_to_the_2.0_rendering_API#Useful_new_stuff, in a block you can now access $this->context and $this->page->context.

I don't understand this code, so I am hoping you can clean it up Nico. Thanks.

Show
Tim Hunt added a comment - blog_menu and blog_tags blocks currently do really confusing things with contexts. Note that, as explained in http://docs.moodle.org/en/Development:Migrating_your_code_to_the_2.0_rendering_API#Useful_new_stuff, in a block you can now access $this->context and $this->page->context. I don't understand this code, so I am hoping you can clean it up Nico. Thanks.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: