I can globally change the ‘Add’ icon to be text using …
$this->setPhraseClass(“addlink”, “”);
$this->setPhrase(“addlink”, “MyText”);
in Language_Load… but I only want to do it on certain pages.I tried putting…
Language()->setPhraseClass(“addlink”, “”);
Language()->setPhrase(“addlink”, “MyText”);
in the Add page Page_Load function but that doesn’t seem to work
sclg wrote:
(It’s the + button on the List page that I’m trying to change to text.)Then simply put your code in “Page_Load” server event under the List Page (do not in Add Page):Language()->setPhraseClass(“addlink”, “”);
Language()->setPhrase(“addlink”, “MyText”);
HelloThank you. I benefited a lot from your responsesthe code worked with me successfully:
// Page Load event
function Page_Load() {
Language()->setPhraseClass(“addlink”, “”);
Language()->setPhrase(“addlink”, “Click here to register for the contest”);
//echo “Page Load”;
}But I have a request how do I change the font color and size