Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6954

Collapsed topics settings working only partly if using a child theme of (the core theme) Boost

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • 3.3
    • Course format: Topcoll
    • None
    • 3.3.0.2 (2017042201)
    • MOODLE_33_STABLE

    Description

      Part of the settings are tied to theme Boost, not working with child themes.
      If you are using child theme based on Boost, plugin loses some of it's functionality, because some settings seems to be tied to certain absolute theme name.
      Inside topcols own renderer.php is the part:

       

      if (strcmp($page->theme->name, 'boost') === 0) {
       $this->bsnewgrid = true;
      }

      So when using theme only based on 'Boost', and going to Course format settings and changing the 'Column orientation' to 'Horisontal', defining number of columns etc. those settings do not work, because plugin has not created right additional classes for sections like it should (like col-sm-12 col-md-12 col-lg-12)

      That's because 'bsnewgrid' has not been actualized under a "wrong" theme name. If you then change the theme to regular Boost, everything works as intended.

      Attachments

        Activity

          People

            gb2048 Gareth J Barnard
            johanrii johanrii
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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