Just trying to figure out how to use the new notice system. I see it's possible to preset a notice for a user, which is useful for the badges plugin, but what if I want to show a notice based on my own criteria, say if the logged_in user is admin?
In doctype() I set the following:
$this->content['notices'][]=qa_notice_form('updates', qa_viewer_html(qa_opt('admin_plus_notify_text'), ''));
And the notice is added to the DOM as expected, but there's something in body_script() that is hiding it... removing the body_script function makes it work as expected... what am I missing?