Select Moodle version:

Themes: green

theme_green
Theme with clean simple code, in order to facilitate the learning of those who want to build your own themes
Maintained by: Robson Robson Pereira
for Moodle
2.3

Screenshots

screenshot

Contributors

Robson
Robson Pereira (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of German Valero
    Mon, Nov 26, 2012, 3:52 AM
    Hi,
    I tried to translate locally your green theme plugin, but Moodle gave me a database writing error:
    with the following debug info:

    line 427 of \lib\dml\moodle_database.php: dml_write_exception thrown
    line 1107 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
    line 1149 of \lib\dml\mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
    line 190 of \admin\tool\customlang\locallib.php: call to mysqli_native_moodle_database->insert_record()
    line 60 of \admin\tool\customlang\index.php: call to tool_customlang_utils::checkout()

    When I removed the green theme plugin, the error disappeared.

    I asked David Mudrak (head programmer at Moodle translation engine) for help at http://lang.moodle.org/mod/forum/discuss.php?d=2691#p3247

    Thanks in advance for your help.
  • Picture of German Valero
    Thu, Dec 13, 2012, 12:18 AM
    Hi,David Mudrak suggested: "The one malicious thing might be the string['choosereadme'] in the English pack. Can you try to replace it with an empty string and see how it goes then? Please do not forget to purge local caches after you modify the string file and only then try to checkout strings."

    I did it and it worked !
    Can you please replace the [´choosereadme´] string with an empty string ?

    Thanks in advance
Please login to post comments