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

A way to have more help links relative to wwwroot

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3.1
    • Component/s: Language
    • Labels:
      None
    • Testing Instructions:
      Hide

      1. Test some help icons on your favourite Moodle forms, to make sure this does not cause any regressions.

      2. I have already tested the new features using qtype_stack.

      Show
      1. Test some help icons on your favourite Moodle forms, to make sure this does not cause any regressions. 2. I have already tested the new features using qtype_stack.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      For a plugin I am working on (https://github.com/maths/moodle-qtype_stack) we would like the 'More help' link in help pop-ups to go to a script within out plugin (e.g. $CFG->wwwroot . '/question/type/stack/doc/doc.php/Authoring/Potential_response_trees.md#Answer_note') rather than to Moodle docs.

      This has two advantages:
      1. It lets us manage the help content in the way we prefer.
      2. The 'More help' can include PHP-generated content, like the Emoticons help used to do in Moodle 1.9.

      At the same time, we should add support for absolute URLs (starting http(s)://) to cover the use cases where people want to link to their own online help.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/12