Requires: phpFox version 4.6.0 or later.
The below instructions can help you add your items to Alert section in Admincp (admincp/alert
).
admincp_alert_item
and add your item to array $aItems
.Example:
<?php // filename admincp_alert_item.php $aItems[] = [ //link of the page that allow admin can manage your alert items 'link'=> \Phpfox::getLib('url')->make('admincp/blog/pendding'), //message you want to show in alert section 'message'=> 'You have 12 pending blog posts.', ]; |