Cannot save changes to Tools menu dropdown 1

Cannot save changes to Tools menu dropdown 1

by Sa Ku -
Number of replies: 1

I am using Moodle version 3.5 and Adaptable theme (version 1.7.1 (2018073000) ).


I accidentally put a wrong code for Tools menu dropdown 1 using Admin settings and now I cannot update it using the interface. The whole page is now looking weird with no Save button. I can update the code, but cannot save it. This page is located at admin/settings.php?section=theme_adaptable_header_navbar_menu

I tried locating the string in the source files, but failed. Now my whole site has gone for a toss. 

Is there a way to update the strings I placed in the Tools menu dropdown 1 using some files that can fix this issue?

Average of ratings: -
In reply to Sa Ku

Re: Cannot save changes to Tools menu dropdown 1

by Jean-Roch Meurisse -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi,

Such values are nor recorded in files but in moodle database (mdl_config_plugins table). 

If there is REALLY no save button on the page, the only solution is to change the value directly in the database. BE CAREFUL !!!

If you have a visual mysql editor, look for the line in that table where 'plugin' = 'theme_adaptable' and name = 'toolsmenu1' and delete/update the 'value' field.

Otherwise execute the following sql statement

"UPDATE mdl_config_plugins

         SET  value = ''

   WHERE plugin = 'theme_adaptable'

        AND name = 'toolsmenu1'

Hope it helps

Cheers