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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Course format: Topcoll
    • Labels:
      None
    • Plugin Version:
      3.3.0.2 (2017042201)
    • Affected Branches:
      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

            Assignee:
            gb2048 Gareth J Barnard
            Reporter:
            johanrii johanrii
            Participants:
            Component watchers:
            Gareth J Barnard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: