Set Default Chat Theme in 2.2

Set Default Chat Theme in 2.2

by Marcus Wynwood -
Number of replies: 3

Hi everyone,
The chat module has two themes: Compact and Bubble.
When a chat is created the default theme is Compact.
Is there a way to change the default theme to Bubble?
Thanks smile 

Average of ratings: -
In reply to Marcus Wynwood

Re: Set Default Chat Theme in 2.2

by Deborah Casale -

I'm also looking for the answer to this question - Thanks!

In reply to Marcus Wynwood

Re: Set Default Chat Theme in 2.2

by Thomas Mellin -

Marcus,

Until a front-end control is added for teachers:

(1) Either you can create an independent link to the chat that adds &theme=bubble to the end of the URL

ex: http://something.org/moodle/mod/chat/gui_ajax/index.php?id=2&theme=bubble

OR

(2) For the case that you or your site admin are able to modify core files:

Here is a back-end mod that will affect all AJAX chats across your course/site:

Affected file:

[moodle_root_dir]/mod/chat/gui_ajax/index.php

PNG