Allow module add custom css to the plugin extension configure page

Bug #1747730 reported by Robert Lyon on 2018-02-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Robert Lyon

Bug Description

When creating a module with configurable options we need a way to allow the module to add custom css to the plugin config page.

We need to be able to add css either by an external file or <style type="text/css"></style> tag

Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 4b3008fbfbb6f1a566c2787cccf2191eaa853b66
Author: Robert Lyon <email address hidden>
Date: Wed Feb 7 07:31:58 2018 +1300

Bug 1747730: Allow one to add custom css to plugin extention config page

By adding the get_config_options_css() function, eg in your module:

public static function get_config_options_css() {
return array('<style type="text/css"> .mycustom { color: red; } </style>');


Change-Id: I0ae9d85fe41e416a8edc60cd40dd4f189aada5cb
Signed-off-by: Robert Lyon <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
Robert Lyon (robertl-9) on 2018-04-05
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers