Add category name to email template
In the General Subscription Notification email template, I am attempting to add the category name after the board title. According to this article: Email template context object, coreNode.title seemed like the object to use, since board is its own object and I want to know the node the board exists in.
See the change I made in red text below:
${notification.message.localizedObjectType} in
${notification.message.board.title} : ${coreNode.title}
on ${notification.formattedDateForMessageEdit}
in the ${community.title} ${eventDetails}:
However, this just spits out some random board when testing.
I also tried <span class="node-name">${coreNode.title}</span> as seen used in the default Unanswered Thread email template, but this had the same result.
Edit: I just tested the Unanswered Thread email template, and it also showed me a random board name.
So perhaps coreNode.title isn't the correct object to use for category and/or there's another way to insert it into the email template.
Any help is appreciated. Thanks!