Actions

Customising/Themes/Mahara 1.3 Themes

From Mahara Wiki

< Customising‎ | Themes
Revision as of 17:08, 19 June 2019 by Lenastackhouse (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Limiting Themes to Institutions

Mahara 1.3 supports the ability to limit a theme to a set of institutions so that only the institutions specified in the theme's configuration file will be able to view or set that theme.

To limit a theme to a single institution, you can add an array containing the names of each institution which should have access to the theme to the themeconfig.php - for example:

$theme->institutions = array('institution_a', 'institution_b');

All themes will still be accessible to be set as a Site-wide theme, even if the $theme->institutions array is set.