Add custome region to 'More' theme in moodle 2.7

Add custome region to 'More' theme in moodle 2.7

by Mary Nemati -
Number of replies: 1

Hi,

I'm trying to add an extra region to top of our centre column in 'more' theme. but I cannot figure out how to do this. Most if the posts are referring to file named, general.php, under the layout folder that I cannot find in our 'more' theme directory. am I missing anything here?

here is my config.php:


<?php

$THEME->name = 'more';

$THEME->parents = array('clean', 'bootstrapbase');

$THEME->doctype = 'html5';

$THEME->sheets = array('custom');

$THEME->lessfile = 'moodle';

$THEME->parents_exclude_sheets = array('bootstrapbase' => array('moodle'), 'clean' => array('custom'));

$THEME->lessvariablescallback = 'theme_more_less_variables';

$THEME->extralesscallback = 'theme_more_extra_less';

$THEME->supportscssoptimisation = false;

$THEME->yuicssmodules = array();

$THEME->enable_dock = true;

$THEME->editor_sheets = array();

$THEME->rendererfactory = 'theme_overridden_renderer_factory';

$THEME->csspostprocess = 'theme_more_process_css';

$THEME->blockrtlmanipulations = array(

'side-pre' => 'side-post',

'side-post' => 'side-pre'

);


and my 'more' theme directory is in below:



 Thanks,Mary


Average of ratings: -
In reply to Mary Nemati

Re: Add custome region to 'More' theme in moodle 2.7

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

Hi,

This is not easy in the More theme unless you make your own copy of that theme. Then you can customise it in whatever way you want. Checkout my Morecandy theme to give you an idea of the work involved.

Cheers

Mary