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

Change MAIN_CONTENT_TOKEN to new format in theme/mymobile/layout/embedded.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.4
    • 2.2
    • Themes
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE
    • Hide

      With 'MyMobile' selected as the prefered theme for "Mobile" device, TEST on an appropriate mobile phone (iPhone, Android etc) to access any embedded file such as a PDF.

      Show
      With 'MyMobile' selected as the prefered theme for "Mobile" device, TEST on an appropriate mobile phone (iPhone, Android etc) to access any embedded file such as a PDF.

      Discovered while testing, it appears that theme/mymobile/layout/embedded.php contains

       <?php echo core_renderer::MAIN_CONTENT_TOKEN ?>

      instead of

       <?php echo $OUTPUT->main_content() ?>

      as can be seen here...
      https://github.com/lazydaisy/moodle/blob/master/theme/mymobile/layout/embedded.php

            lazydaisy Mary Evans
            lazydaisy Mary Evans
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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