Moodle plugins directory: Café con leche | Moodle.org
Café con leche
This theme is based on the theme Decaf, improving customization for non-programmers:
It has been added things:
* - Changed the default colors.
* - Setting the logo.
* - Setting the background image of the header.
* - Setting the favicon.
* - Setting the background color of the header.
* - Changes in the styles of the header
* - Spanish translation.
ES: Este tema está basado el el tema Decaf, mejorando la personalización para usuarios no expertos en programación:
Se le han añadido algunas cosas:
* - Cambiados los colores por defecto.
* - Configuración del logotipo.
* - Configuración de la imagen de fondo de la cabecera.
* - Configuración del favicon.
* - Configuración del color de fondo de la cabecera.
* - Modificaciones en los estilos de la cabecera
* - Traducción al español.
Licencia: GPL.
//Insert the section 0
$section = 0;
$thissection = $sections[$section];
if ($thissection->summary or $thissection->sequence or $PAGE->user_is_editing())
{
echo '
echo '
// do not echo above the tabs
if (!empty($thissection->name))
{
====> // echo $OUTPUT->heading(format_string($thissection->name, true, array('context' => $context)), 3, 'sectionname');
}
echo '
El problema que me estoy encontrando es que cuando inserto css en la caja de la configuración, no lo reconoce, por ejemplo:
#page-header .headermain {
margin-left: 100px;
}
¿A que puede deberse? gracias.
If the problem occurs only with this theme, please, send me more information: versión, settings, etc.
I have tried to use self enrollement in my server: it works correctly.
It happens only with Moodle 2.5.
I have implemented a workarround in the version 1.0.2. You can download and replace the whole version or, if you prefer, only the "renderes.php" file.
I am having a few issues with this theme that I will explain below.
I am experiencing a couple of issues with this theme, on two different instalations:
On my schools production server
Moodle 2.5.6+ (Build: 20140529)
Ubuntu 12.04 server LTS
PHP 5.3.10
Database postgresql 9.1.13
Coffee With Milk Theme Version 1.0.2 (2014060400)
Firstly, some of the teachers are having trouble adding assignment activities to their courses. When they click the “save and return to course” button they get the Fatal Error below.
error: Class 'core\session\manager' not found in /var/www/moodle/theme/cafe_con_leche/lib.php on line 275
This error was happening when the course theme was set to “Coffee with Milk” only. When the theme was changed to one of several others (Krystle, Sky High, Standard) there was no problem. Also with the course theme set to “Coffee with Milk” there was no problem adding the assignment from an iPhone using “moodle2mobile” theme (different user though).
Interestingly the same user was having no problems adding assignments to a different course that had the “Coffee with Milk” theme set. very puzzling.
Initially I thought that a theme upgrade may have fixed things, but the same thing was happening after upgrading to the latest theme above, and purging all caches a few times.
Secondly This error/warning is displayed at the top of the screen, when going to the admin notifications page. I only just notice it because it flashes up as the notifications page loads, then is hidden by the awesomebar.
Warning: Cannot modify header information - headers already sent by (output started at /var/www/moodle/theme/cafe_con_leche/version.php:1) in /var/www/moodle/theme/cafe_con_leche/layout/general.php on line 85
I’m not sure what the implications of this warning are.
On my Moodle 2.7 prototype server
Moodle 2.7+ (Build: 20140515)
Ubuntu 13.10 server
PHP Version 5.5.3-1 Ubuntu 2.3
Database postgresql 9.1.13
Coffee With Milk Theme Version 1.0.2 (2014060400)
Two things that I have noticed:
The “Site Administration” menu on the awesomebar only works when on the …/moodle/admin/index.php page (i.e. the notifications page), otherwise it doesn’t drop down. On most other pages (My Home, Course pages etc.) the other menus seem ok but not “Site administration.”
This error/warning is displayed at the top of the screen, I only just notice it because it flashes up as the notifications page loads, then is hidden by the awesomebar.
Warning: Cannot modify header information - headers already sent by (output started at /var/www/moodle/theme/cafe_con_leche/version.php:1) in /var/www/moodle/theme/cafe_con_leche/layout/general.php on line 85
Secondly When using dolphin browser on my android tablet when I tap the “home” button on the “awesomebar” I am logged out and am directed to the login screen. This doesn’t seem to happen on other browsers or on the PC.
Please assist.
We like this themes settings interface very much. There is so much that can be modified which makes it really useful.
I wonder if there is a branch of this theme that has a setting which allows for a background image. This would make it totally perfect for a kiddies course I'm designing.
body {
background: url("url-to-your-image") options ...;
}
by example:
body {
background: url("") no-repeat scroll center bottom;
}
try to use custom css.
By example:
#page-content #region-pre {
width:286px;
}
#page-content #region-main-wrap{
width: 47%;
}
Buenos tardes, como hago para poner el bloque de navegación al lado del bloque de administracion , la cual esta en el menú de arriba
Saludos
-Derek