Posts made by David Scotson

Moodle in English -> Themes -> Elegance Theme Released -> Re: Elegance Theme Released

i le David Scotson -
If you have access to the server you should be able to switch the theme from the command line, though to be honest I don't know how.

You can hardcode some setting in the config.php but a quick google doesn't turn up the format that you'd need to use to change the theme (if you can).

I just tried this in config.php and it worked (though only after I logged out, but that might be because I use session themes while developing, if you can't log out, try accessing your site from a browser you've not used for a while)

$CFG->theme = 'arialist';

Moodle in English -> Themes -> Elegance Theme Released -> Re: Elegance Theme Released

i le David Scotson -
According to the stack trace you posted, you're hitting the same bug that I mentioned earlier.

If you have access to the server you could try making this change to the file mentioned in your error message:

https://github.com/bmbrands/theme_bootstrap/pull/125/files

edit: I see a picture of this change is posted above, too.

But, as far as my experience goes, this bug does not result in a white/blank page. It all works fine before you log in, and then (if you happen to have a message waiting for you that doesn't have a sender) you'll get the coding error warning.

I believe that the "add a block" block gets added to the "default region". If you look at the config.php file in the root directory of your folder you should see an array called $theme->layouts.

On the pages that have two (or more) block regions

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

You can change the default region to the opposite one:

    'defaultregion' => 'side-post',      

becomes

   'defaultregion' => 'side-pre',

At least that's the general principal.