Issue Details (XML | Word | Printable)

Key: MDL-14577
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Mathieu Petit-Clair
Reporter: Mathieu Petit-Clair
Votes: 0
Watchers: 2
Operations

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

Create hook system to let other module show their tagged content

Created: 28/Apr/08 04:16 PM   Updated: 28/Apr/08 04:16 PM
Return to search
Component/s: Tags
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Mathieu Petit-Clair
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
There should be a hook that other module could implement to display tagged content on /tag/index.php, without having to modify the file.

We could add a [modulename]_tag_section(string $current_tag) hook. (Would that be a good name? Suggestions welcome...)

The function would pass the current tag as an argument, and expect a fully formed html string, to be displayed.

This could be a good occasion to get the user- and blog-specific code out of /tag/index.php and into the related lib file..



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No changes have yet been made on this issue.