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

YUI3 gallery doesnt include skins and core CSS correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      YUI3 gallery module inclusion isn't including the core CSS files if it is being asked to.
      I've attached a patch to fix this.
      When using YUI gallery modules you will require the following sort of thing:

      $PAGE->requires->js_gallery_module(array('gallery-lightbox','gallery-lightbox-core', 'gallery-lightbox-skin'), '2010.04.08-12-35', 'Y.Lightbox.init');

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10