Hoffi Well-known member Oct 28, 2020 #1 Hi all, is it possible to create a notice with an addon? Sure, I cann add the data during setup direct in the database or even better with the notice entity. But are there better possibilities?
Hi all, is it possible to create a notice with an addon? Sure, I cann add the data during setup direct in the database or even better with the notice entity. But are there better possibilities?
SyTry Well-known member Oct 28, 2020 #2 Hello, You mean via the notice system or via template ? Regards, SyTry
Jeremy P XenForo developer Staff member Oct 29, 2020 #3 You can create notices programmatically using the notices_setup event listener and calling $noticeList->addNotice().
You can create notices programmatically using the notices_setup event listener and calling $noticeList->addNotice().
Hoffi Well-known member Oct 29, 2020 #4 Jeremy P said: You can create notices programmatically using the notices_setup event listener and calling $noticeList->addNotice(). Click to expand... Thanks. That was exact what I was looking for. marked as solution
Jeremy P said: You can create notices programmatically using the notices_setup event listener and calling $noticeList->addNotice(). Click to expand... Thanks. That was exact what I was looking for. marked as solution