Configuración de temas
Nota: Pendiente de Traducir. ¡Anímese a traducir esta página!. ( y otras páginas pendientes)
Configuraciones del tema
Un administrador puede cambiar las configuraciones del tema en Configuraciones > Administración del sitio > Apariencia > Temas > Configuraciones del tema .
En Moodle 2.7 y superiores, el aspecto es ligeramente diferente:
tecnico Empresarial
Temas especiales
Temas para sesiones
Moodle offers an additional way to set a theme - the session theme. This is set with the URL and lasts until you log out. When you next login, the site/course/user themes are active again. This option is great for theme testing and works perfectly when you want to enable different themes for different situations.
For example you can offer a special link for PDA users and integrate the session theme orangewhitepda in that link. Nobody needs to change any settings, you just click on that link. The session theme is called by the URL parameter &theme=orangewhitepda
. The whole URL without the session theme could look like http://mymoodlesite.org/course/view.php?id=18
and with the parameter for the PDA theme like "http://mymoodlesite.org/course/view.php?id=18&theme=orangewhitepda"
.
In a standard Moodle installation, session themes are not active. To activate them the administrator must add the parameter $CFG->allowthemechangeonurl = true;
to the Moodle config.php file in the Moodle base directory.
Tema para página
A page theme is for special page-only themes set by code, use $PAGE->force_theme()
.
Jerarquía del tema
Here is the usual order that themes are considered by the Moodle interface.
Theme type | Overwrites | Display | Setting type |
---|---|---|---|
Site | - | all pages* | saved in theme profile |
User | Site theme | all pages* | saved in user profile |
Course | Site, user and session themes | one course | saved in course profile |
Session | Site and user themes | all pages* | temporary until logout |
(* except courses with the course theme set)
Cambiar la jerarquía por defecto
The priority of themes can be set via the /moodle/config.php file. The order defines which theme wins when there are several set at different levels. You can set a variable called $CFG->themeorder (see config-dist.php for more details). By default it is set to:
$CFG->themeorder = array('course', 'category', 'session', 'user', 'site');
Configuraciones particulares del tema
Logo, tagline, link colour, column width, custom CSS and other settings for a particular theme may be set by an administrator in Administration > Site administration > Appearance > Themes > Theme name.
Vea también
- Moodle Theme Settings Page MoodleBites video on YouTube