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

Add class "haslayouttable" to body

XMLWordPrintable

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

      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 .

            timhunt Tim Hunt
            urshunkler Urs Hunkler
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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