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

Add rule (help and lang file locations) for course/import modules

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Inactive
    • Minor
    • None
    • 1.9.9
    • Course
    • None
    • MOODLE_19_STABLE
    • Easy

    Description

      Add a help/lang file location rule for course import modules

      In lib/moodlelib.php insert into the list of array initialization values (e.g. line 5297) the following:

      'import_' => array('course/import'),

      This will enable a custom import plugin to be contained in the single sub-directory (course/import/[pluginname]).

      You can guide the get_string routine by supplying the location in which to look for your lang file, but the helpbutton() doesn't provide a similar way to locate help (html) files.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              woolardfa@appstate.edu Fred Woolard
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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