How to introduce a variable to title of a dashboard?
Hi folks, I'm working on the dashboard for an app and it's mostly a load of stats for current year, I'm trying to see if there is any way I can actually insert the year into the title? I've tried using concatenation and string interpolation for the
$title
static property but that just gives errors.
Hoping someone has an idea on this.2 Replies
Do it in getTitle() not in the property.
Ah perfect @awcodes thanks for that