Essential Theme NAV block showing in LOGIN page

Essential Theme NAV block showing in LOGIN page

by mart van der niet -
Number of replies: 6

(Moodle 2.6+ (Build: 20131205) , Essential 2013120200)

Can anyone help me with this one:

When using Essential a nav block shows up at the right hand corner. It does not show when using the Clean theme.

Tried about everything I could imagine, can't get rid of it...

All hints appreciated!

 

 

Attachment Untitled.png
Average of ratings: -
In reply to mart van der niet

Re: Essential Theme NAV block showing in LOGIN page

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

If you look in essential/config.php

you will see that the $THEME->layout for 'login' has a default block region and region array. This is wrong and needs those elements removing. See below...

    'login' => array(
        'file' => 'columns1.php',
        'regions' => array( 'footer-left', 'footer-middle', 'footer-right', 'hidden-dock' ),
        'defaultregion' => 'footer-right',
        'options' => array('langmenu'=>true),
    ),

so that it looks like this...

    'login' => array(
        'file' => 'columns1.php',
        'regions' => array(),
        'options' => array('langmenu'=>true),
    ),

In reply to Mary Evans

Re: Essential Theme NAV block showing in LOGIN page

by mart van der niet -

Thanks for the quick reply, but.....

 

Coding error detected, it must be fixed by a programmer: Trying to reference an unknown block region footer-left

 

 

my code in config.php:

    'login' => array(
        'file' => 'columns1.php',
        'regions' => array(),        
        'options' => array('langmenu'=>true),
    ),

In reply to mart van der niet

Re: Essential Theme NAV block showing in LOGIN page

by Usman Asar -
Picture of Plugin developers Picture of Testers

Mart, though you have edited the code, but every time you upgrade Essential, you have to manually do the code change to prevent this navigation block showing up.

What Julian essentially said, by turning it OFF, log-in to site as admin, click Turn Editing ON, and then you have to manually point to URL to get to that page, like (www.mymoodle.com/login/index.php) and you will see EDIT icons appeared on Navigation Block, simply turn block off using that and it wont show up again no matter you upgrade essential.

In reply to Mary Evans

Re: Essential Theme NAV block showing in LOGIN page

by Julian Ridden -

You could just turn editing on, visit that page and remove the block from the footer. No code change needed.

Julian

In reply to Julian Ridden

Re: Essential Theme NAV block showing in LOGIN page

by mart van der niet -

Thanks, easy solution!

In reply to mart van der niet

Re: Essential Theme NAV block showing in LOGIN page

by Francisco Pancho -

Hola

Tengo lo siguiente instalado : (Moodle 2.6+ (Build: 20131205) , Essential 2013120200)

Quiero lo contrario a Mart

El Footer del frontpage lo tengo configurado(see imagen attach), pero en el Login NO me muestra nada!!

Que puede estar pasando o sucediendo.

Saludos y gracias

Attachment Captura_03.PNG