Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6981

Allow text filters to add stuff to page footer

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.6.3
    • Fix Version/s: None
    • Component/s: Filters
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE

      Description

      Some text filters have a need to insert stuff near the bottom of a page. The jsmath filter is an example, see http://moodle.org/mod/forum/discuss.php?d=56416. Filters are already allowed to supply javascript for the header, so we could similarly allow them to provide content for the footer.

        Gliffy Diagrams

          Activity

          Hide
          timhunt Tim Hunt added a comment -

          The problem with this is the option to cache filtered text in the database. So this content would have to be added unconditionally to the footer whenever the filter is active, but I guess that is OK.

          Show
          timhunt Tim Hunt added a comment - The problem with this is the option to cache filtered text in the database. So this content would have to be added unconditionally to the footer whenever the filter is active, but I guess that is OK.
          Hide
          timhunt Tim Hunt added a comment -

          This was fixed ages ago with the JavaScript changes in Moodle 2.0. Closing.

          Show
          timhunt Tim Hunt added a comment - This was fixed ages ago with the JavaScript changes in Moodle 2.0. Closing.

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: