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

Add ability to set the colour of the toggle bar on a per course basis.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.14, 2.0.5, 2.1.2, 2.2, 2.3
    • Fix Version/s: 2.0.5, 2.1.2, 2.2, 2.3
    • Component/s: Course format: Topcoll
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE

      Description

      I have been asked by Leonie Vos (http://moodle.org/user/profile.php?id=1435066) on behalf of a client to add in the functionality where you can set the colour of the toggle and have this stored on a course by course basis rather than editing the css for all courses.

      Therefore a new option on the 'Set Layout' form will need to be added to pick the colour, then store this in the 'format_topcoll_layout' table as a new field, perhaps 'toggle_colour', then when the toggle is rendered by 'format.php' have this value applied to the toggle background.

      Perhaps it might be necessary to specify the foreground colour too.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11