README.md 1.16 KB
Newer Older
Camille Tardy's avatar
Camille Tardy committed
1
2
## University of Geneva Boost child theme

3
4
5
*Author : University of Geneva, 2018*


6
Boost Child theme for Moodle 3.7 to 3.9.
Camille Tardy's avatar
Camille Tardy committed
7

8
A related Mahara theme can be found [in our Gitlab](https://gitlab.unige.ch/portfolio/Theme-Mahara)
Camille Tardy's avatar
Camille Tardy committed
9

10
11
12
13
### Installation 

Copy under the following path [MyMoodle]/theme/unige 

14
15
16
###How to

To change colors for the top categories : 
Camille Tardy's avatar
Camille Tardy committed
17
18
* edit list in : scss/style_post_scss.scss. You can edit or add faculties varibles here. Be careful to edit at the top of the file the variable names or their color codes and around line 866 in the same file where the variables are used (the names must match).
* edit the function : color_fac_category($id_category) in classes/output/core/course_renderer.php. The case number must match the top categories id form your database. All sub-categories inherit the color from its parent. The categories class name must match the ones defined in the scss file around line 866.
19
* Purge Moodle caches in administration to see the results. --> http://mymoodle.com/admin/purgecaches.php
20
21
22
23


To change links in menus : 
* use the setting view for the theme to update the urls
24
* use the language files in the source code to edit the links label
Camille Tardy's avatar
Camille Tardy committed
25

Camille Tardy's avatar
Camille Tardy committed
26

Camille Tardy's avatar
Camille Tardy committed
27