Customize the enrollment options page

Re: Customize the enrollment options page Moodle 3.7.3

by Vasilios Vasileiou -
Number of replies: 7

Thank for your fast response

The first screenshot is how i want to be

The second is how is it now


Attachment moodle after.jpg
Attachment moodle before.jpg
In reply to Vasilios Vasileiou

Re: Customize the enrollment options page Moodle 3.7.3

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
This looks like some custom theme. Which theme is it?

Anyway, I'm moving this to the Themes forum...
In reply to Howard Miller

Re: Customize the enrollment options page Moodle 3.7.3

by Vasilios Vasileiou -

The theme is the klassroom theme.

I contact with the creators of the theme and send me here. Here is the answer

This query is related to moodle not related to theme. Actually moodle made this feature. So you can create your query here https://moodle.org/mod/forum/view.php?id=50 moodle developer/community people can help you.


In reply to Vasilios Vasileiou

Re: Customize the enrollment options page Moodle 3.7.3

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Dear Vasilios,

Ok, the link the theme developers have given is to the general forum here, which is where I believe you first posted. However, given your screen shots where you want to remove a column on a given page then that will be a part of the layout (layout file or called mustache template) - it could be a block region. Thus it is a specific theme issue for the developers to help you with.  As even though themes have a common structure, at the fine detail level, each one has specific changes pertaining to them only.  Please contact them again and do make reference to my post.

Gareth
In reply to Gareth J Barnard

Re: Customize the enrollment options page Moodle 3.7.3

by Vasilios Vasileiou -

Thank you very much Gareth. I'll do it and if it need i return.

In reply to Vasilios Vasileiou

Re: Customize the enrollment options page Moodle 3.7.3

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

Hi Vasilios, 

You could try changing the config.php file

https://github.com/lmsace/klass/blob/v3.7/config.php#L88-L89

in the theme you are using and change the regions for the Frontpage from this...

// The site home page.
'frontpage' => array(
'file' => 'frontpage.php',
'regions' => array('side-pre'),
'defaultregion' => 'side-pre',
'options' => array('nonavbar' => true),
),

To this...

// The site home page.
'frontpage' => array(
'file' => 'frontpage.php',
'regions' => array(),
'defaultregion' => ',
'options' => array('nonavbar' => true),
),

Just a thought

Mary

Average of ratings: Useful (1)
In reply to Mary Evans

Re: Customize the enrollment options page Moodle 3.7.3

by Vasilios Vasileiou -

Dear Mary

your thought help me very much.

This is what i do

in the file you told me i make this change:


// Part of course, typical for modules - default page layout if $cm specified in require_login().

'incourse' => array(

'file' => 'columns.php',

'regions' => array('side-pre'),

'defaultregion' => 'side-pre',

),

To this

// Part of course, typical for modules - default page layout if $cm specified in require_login().

'incourse' => array(

'file' => 'columns.php',

'regions' => array('side-post'),

'defaultregion' => '',

),

and solve my problem.

THANK YOU VERY MUCH

Vasilios
Average of ratings: Useful (1)
In reply to Vasilios Vasileiou

Re: Customize the enrollment options page Moodle 3.7.3

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
You are very welcome Vasilios,
It makes me happy to know it works for you.

Cheers

Mary