Adaptable 2.4 Change Button Value

Adaptable 2.4 Change Button Value

by J W -
Number of replies: 4

Adaptable 2.4

Moodle 3.8.2


i need to change the text of the 'Save Settings' button in the Database Activity. 

i found that i can hide it by using the below css but i cant seem to figure out how to change the text to say 'Search' instead.


#options > div >input.btn.btn-secondary[value="Save settings"]{ 

display:none; 

}

Average of ratings: -
In reply to J W

Re: Adaptable 2.4 Change Button Value

by Philip Leicester -

J.W Did you solve this - would be interested to know your solution?

In reply to Philip Leicester

Re: Adaptable 2.4 Change Button Value

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Can't you just change the value of 'savesettings' in the language pack via the core UI? -> https://docs.moodle.org/38/en/Language_customisation#Changing_words_or_phrases
In reply to Gareth J Barnard

Re: Adaptable 2.4 Change Button Value

by Philip Leicester -
I suppose in theory, but that would apply across the site and there may be some valid uses of the string 'Save settings'
Javascript solution may work but not sure how to do that yet.
In reply to Philip Leicester

Re: Adaptable 2.4 Change Button Value

by J W -
i was not able to find a solution to this problem