2014-12-26, 05:20 PM
The jGrowl alerts should have a class appended to them that defines what type of alert they are.
E.g. an alert that notifies that the message is not long enough(1) should have a class named "jgrowl-error" appended to it.
Another alert that notifies something successful(2) should have a class named "jgrowl-message" appended to it.
In my themes I like to provide as much information to users regarding something(through icon usage etc). The current system does not allow that(without core edits obviously).
Oh and a way to do this is through using
E.g. an alert that notifies that the message is not long enough(1) should have a class named "jgrowl-error" appended to it.
Another alert that notifies something successful(2) should have a class named "jgrowl-message" appended to it.
In my themes I like to provide as much information to users regarding something(through icon usage etc). The current system does not allow that(without core edits obviously).
Oh and a way to do this is through using
$.jGrowl("Hello world!", {theme: "jGrowl-error");
where "jGrowl-error" is the class name that will get added.