[Midas] Notification.php
Zach Mullen
zach.mullen at kitware.com
Thu Jun 21 10:10:45 EDT 2012
Hi Mona,
Have you enabled your module yet in the Administration -> Modules tab?
Thanks,
Zach
On Wed, Jun 20, 2012 at 8:37 PM, Mona Wong <mona at sdsc.edu> wrote:
>
> Hi Michael:
>
> To add an action item to the users' view, Patrick had pointed me to the
> statistics module, specifically modules/statistics/Notification.php.
>
> I created this in module/annio/Notification.php:
>
> <?php
>
> class Annio_Notification extends MIDAS_Notification
> {
> public $moduleName = 'annio';
>
> public function init()
> {
> $this->addCallBack ( 'CALLBACK_CORE_ITEM_VIEW_ACTIONMENU',
> 'getActionLink' );
> }
>
> public function getActionLink ( $params )
> {
> return '<li>Annotate</li>';
> }
> }
>
> ?>
>
> as a simple start...though I do not see that entry in the user's view. What
> else do I need to do to get this to show up?
>
> thanks,
> Mona
>
>
> *********************************************
> Mona Wong
> Web & iPad Application Developer
> San Diego Supercomputer Center
>
> Believing we are in control is an
> illusion that brings suffering.
> *********************************************
>
>
>
>
>
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>
--
Zach Mullen
R & D Engineer
Kitware Inc.
919-869-8858
More information about the Midas
mailing list