Hmmm.... there is caching going on here so I've extended the rebuildNoticeCache() and getDefaultNotice() inside the model to include the extra field.
Still no extra field coming through to the template though.
Am I doing this function properly? Does it need to call the parent or something?
@Mike, after the notices_prepare event is fired (inside ViewRenderer/HtmlPublic.php -> _getNoticesContainerParams), the $notices array is then built, but with hard-coded fields.
Could the event fire after the array is built so that developers can add additional fields to notices?
Meanwhile, which code event can I listen to to override ViewRenderer/HtmlPublic.php?