Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.1.2
    • Fix Version/s: 2.0.6, 2.1.3
    • Component/s: Administration, Themes
    • Labels:
      None
    • Database:
      Any
    • Testing Instructions:
      Hide

      1. Switch theme to Sky High.
      2. Select Report in Site-Administation
      3. Try printing a report (eg: Config Changes as this will have lots of data)
      4. Check to see if print out is incomplete.

      Show
      1. Switch theme to Sky High. 2. Select Report in Site-Administation 3. Try printing a report (eg: Config Changes as this will have lots of data) 4. Check to see if print out is incomplete.
    • Workaround:
      Hide

      A suggested workaround this problem is the following patch by my mentor Dietmar Wagner

      ********************************************
      A patch for the report "Config changes":
      ********************************************
      admin/report/configlog/index.php
      ========================
      @@-12,1 +12,1@@
      - admin_externalpage_setup('reportconfiglog');
      + admin_externalpage_setup('reportconfiglog', '', null, '', array('pagelayout'=>'report'));
      
      

      With the following CSS added to theme/sky_high/style/pagelayout.css

      /* Report layout
      -------------------------*/
      .pagelayout-report #page-content #region-main-box { margin-left: 0px;}
      .pagelayout-report #page-content #region-post-box { margin-left: -[[setting:regionwidth]];}
      .pagelayout-report #page-content #region-main { margin-left: [[setting:regionwidth]];}
      .pagelayout-report #page-content #region-pre { left: [[setting:regionwidth]]; width: [[setting:regionwidth]];}
      .pagelayout-report #page-content #region-post { width: 0%;}
      
      /* Print layout
      -------------------------*/
      @media print {
          .pagelayout-report #page-content #region-main-box { margin-left: 0px;}
          .pagelayout-report #page-content #region-main-box #region-post-box { margin-left: 0px;}
          .pagelayout-report #page-content #region-main-box #region-post-box #region-main-wrap #region-main { margin-left: 0px;}
          .pagelayout-report #page-content #region-main-box #region-post-box #region-pre { width: 0px;}
          .pagelayout-report #page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content table.generaltable {
               font-size:60%;
           }
      }
      
      Show
      A suggested workaround this problem is the following patch by my mentor Dietmar Wagner ******************************************** A patch for the report "Config changes": ******************************************** admin/report/configlog/index.php ======================== @@-12,1 +12,1@@ - admin_externalpage_setup('reportconfiglog'); + admin_externalpage_setup('reportconfiglog', '', null, '', array('pagelayout'=>'report')); With the following CSS added to theme/sky_high/style/pagelayout.css /* Report layout -------------------------*/ .pagelayout-report #page-content #region-main-box { margin-left: 0px;} .pagelayout-report #page-content #region-post-box { margin-left: -[[setting:regionwidth]];} .pagelayout-report #page-content #region-main { margin-left: [[setting:regionwidth]];} .pagelayout-report #page-content #region-pre { left: [[setting:regionwidth]]; width: [[setting:regionwidth]];} .pagelayout-report #page-content #region-post { width: 0%;} /* Print layout -------------------------*/ @media print { .pagelayout-report #page-content #region-main-box { margin-left: 0px;} .pagelayout-report #page-content #region-main-box #region-post-box { margin-left: 0px;} .pagelayout-report #page-content #region-main-box #region-post-box #region-main-wrap #region-main { margin-left: 0px;} .pagelayout-report #page-content #region-main-box #region-post-box #region-pre { width: 0px;} .pagelayout-report #page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content table.generaltable { font-size:60%; } }
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-29904-master
    • Rank:
      19437

      Description

      Printing something like quiz results is truncated when using Sky High as a theme. For example, a quiz with 21 attempts gives a print out of 8 attempts on the first two pages, and two blank pages. The same quiz printed using another theme prints the total number of attempts/results.

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: