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

Add class "haslayouttable" to body

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8, 1.9
    • 2.0
    • General, Themes
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_20_STABLE

    Description

      Moodle offers to use module pages with sideblocks and without. Advanced themes need to change the CSS depending on existing sideblocks / not existing sideblocks. Technically Moodle places the "layout-table" when sideblocks are possible.

      Best would be to add the class "haslayouttable" to body. Second best would be to add a function "has_layouttable()

      { ... }" which returns true when a layouttabel is placed in the page. Like the function "is_in_popup() { ... }

      ". We are getting near OO notifications here .

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              urshunkler Urs Hunkler
              Nobody Nobody
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10