Degrade Theme
Maintained by
Eduardo Kraus
The Degrade theme offers a series of pre-programmed colors for you to choose the best one and has amazing support for Dark Mode.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Fatal error: Declaration of theme_degrade\navigation\primary::get_primary_nav(): array must be compatible with core\navigation\output\primary::get_primary_nav($parent = null):
thanks!
Poderia me ajudar?
Não estou conseguindo adicionar nenhum bloco na página inicial (ativando a edição) mesmo com o debug ligado em retorna erro algum.
Estou usando moodle 3.9.2
Obrigado
Thanks
Undefined property: stdClass::$title in \theme\degrade\layout\ui\user-right.php on line 61
Undefined property: stdClass::$url in \theme\degrade\layout\ui\user-right.php on line 62
Debug message:
Error code: generalexceptionmessage
* line 62 of \theme\degrade\layout\ui\user-right.php: Error thrown
* line 71 of \theme\degrade\layout\columns2.php: call to require()
* line 1273 of \lib\outputrenderers.php: call to include()
* line 1203 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
* line 51 of \theme\index.php: call to core_renderer->header()
After selecting the theme getting blank page, like this: https://github.com/EduardoKrausME/moodle-theme_degrade/issues/1
Row 56-63 in file user-right.php should be:
if ( !function_exists ( "user_convert_text_to_menu_items" ) ) {
require("{$CFG->dirroot}/user/lib.php");
$items = user_convert_text_to_menu_items($CFG->customusermenuitems, $PAGE);
foreach ($items as $item) {
echo "title}\"
href=\"{$item->url->out(true)}\">{$item->title}";
}
}
Tested in Moodle '3.5+ (Build: 20180628)'