Actions

Customising/Themes/Mahara 1.3 Themes

From Mahara Wiki

< Customising‎ | Themes
Revision as of 17:54, 9 May 2011 by Brettwilkins (talk | contribs) (Created page with "'''Limiting Themes to Institution'''s 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 configurat…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.