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

Display the activity information output component on the activity modules' view.php

XMLWordPrintable

    • MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • MDL-71161-master-4
    • Hide
      1. RestoreĀ  activity_examples.mbz to your moodle site.
      2. Go through each activity type in the course.
      3. Confirm that you can see the activity information output component (may contain activity dates, completion conditions, or the mark as done button) just below the activity name heading.
      LTI
      1. Turn editing on and add an External tool activity.
      2. Set the Tool URL to https://www.eduappcenter.com/configurations/oc8j7hxnzsej9h62.xml. Set the completion tracking to either manual or automatic.
      3. Save and display.
      4. Confirm that you can see the activity information output component with the completion conditions that you have set earlier for this activity.
      print_workaround
      1. Go to the course homepage.
      2. Turn editing one.
      3. Open the edit menu of a file resource and edit its settings.
      4. Under appearance, change its display mode to "Open"
      5. Save and display
      6. Confirm that you can see the activity information
      7. Repeat the same for the URL resource and confirm that the activity information is being displayed fine.
      Show
      RestoreĀ  activity_examples.mbz to your moodle site. Go through each activity type in the course. Confirm that you can see the activity information output component (may contain activity dates, completion conditions, or the mark as done button) just below the activity name heading. LTI Turn editing on and add an External tool activity. Set the Tool URL to https://www.eduappcenter.com/configurations/oc8j7hxnzsej9h62.xml . Set the completion tracking to either manual or automatic. Save and display. Confirm that you can see the activity information output component with the completion conditions that you have set earlier for this activity. print_workaround Go to the course homepage. Turn editing one. Open the edit menu of a file resource and edit its settings. Under appearance, change its display mode to "Open" Save and display Confirm that you can see the activity information Repeat the same for the URL resource and confirm that the activity information is being displayed fine.
    • 2
    • Internationals - 3.11 Sprint 9

      Go through the view.php page of each activity module and display the activity information output component.

      Typical procedure:

      1. Find the heading for the view page (e.g. $OUTPUT->heading()).
      2. Add the activity information below the heading. e.g.

        $OUTPUT->activity_information($cm);

        Make sure that $cm is an instance of cm_info (You can also use cm_info::create())

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Michael Hawkins Michael Hawkins
            Adrian Greeve Adrian Greeve
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours, 35 minutes
                2d 4h 35m

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