Page 1 of 1
Move button styles out of english.xml
Posted: Thu Dec 31, 2015 1:34 am
by Chris
It becomes cumbersome to maintain multiple xml files, particularly when all I'm changing is the trash icon classes etc., i.e.
phrase id="DeleteLink" value="Delete" class="glyphicon glyphicon-trash ewIcon"
Re: Move button styles out of english.xml
Posted: Tue Feb 02, 2016 7:28 pm
by cedracu
alternatively you can use Language_Load server event (see help file):
function Language_Load() {
$this->setPhrase("MyID", "MyValue"); // Refer to language file for the actual phrase id
$this->setPhraseClass("MyID", "glyphicon glyphicon-xxx ewIcon"); // Refer to http://getbootstrap.com/components/#glyphicons for icon name
}