Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-13404 Improve tagging system
  3. MDL-14577

Create hook system to let other module show their tagged content

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 2.0
    • Tags
    • None
    • MOODLE_20_STABLE

      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..

            Unassigned Unassigned
            scyrma Mathieu Petit-Clair
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.