I should have added in a link to the callback documentation:<div><br></div><div><a href="http://www.kitware.com/midaswiki/index.php/Documentation/Latest/Developer/Modules#PHP_Callback_framework">http://www.kitware.com/midaswiki/index.php/Documentation/Latest/Developer/Modules#PHP_Callback_framework</a></div>
<div><br></div><div>This has more of a focus on adding new callbacks in the Midas core, but it will give you some info.<br><br><div class="gmail_quote">On Wed, Jul 4, 2012 at 5:00 PM, Michael Grauer <span dir="ltr"><<a href="mailto:michael.grauer@kitware.com" target="_blank">michael.grauer@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mona,<div><br></div><div>You'll need to add in a javascript callback handler for this case.  You can see the keyfiles module as an example.</div>
<div><br></div><div>In your module's <b>Notification.php</b> file, in the <b>init</b> method, you'll need to register a callback handler for <b>CALLBACK_CORE_GET_FOOTER_LAYOUT </b>(this is to load your javascript file), then in the method [1] implemented there you can give the name of your [2] javascript file ([1] <b>getFooter</b> and [2] <b>keyfiles.notify.js</b> respectively in the keyfiles module example).</div>

<div><br></div><div>In your module's <b>public/js</b> folder, you can create <b>annio.notify.js</b>, and there you can follow what <b>keyfiles.notify.js </b>does to register for the <b>CALLBACK_CORE_RESOURCES_SELECTED</b> callback and provide html in the handler.</div>

<div><br></div><div><br></div><div>Thanks,</div><div>Mike</div><div><br></div><div><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jul 4, 2012 at 1:15 PM, Mona Wong <span dir="ltr"><<a href="mailto:mona@sdsc.edu" target="_blank">mona@sdsc.edu</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> When you go to the item view itself (ie click "View" from the tree<br>
> browser), do you see the content there?  That callback only works for<br>
> the item view page itself, not the tree browser action list.<br>
><br>
> The links for the tree browser action list and the "selected" action<br>
> list are actually dynamically generated on the client side using<br>
> javascript, and there is a separate mechanism for adding module<br>
> callback handlers on the client side.<br>
<br>
        I'd like to add an action in the tree browser action list.  How do I do that?<br>
<br>
thanks,<br>
Mona<br>
<br>
*********************************************<br>
    Mona Wong<br>
    Web & iPad Application Developer<br>
    San Diego Supercomputer Center<br>
<br>
    You are the light you wish to see.<br>
*********************************************<br>
<br>
<br>
<br>
_______________________________________________<br>
Midas mailing list<br>
<a href="mailto:Midas@public.kitware.com" target="_blank">Midas@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Thanks,<br>Michael Grauer<br>R & D Engineer<br>Kitware, Inc.<br><a href="tel:919%20969%206990%20x322" value="+19199696990" target="_blank">919 969 6990 x322</a><br>

<br><br><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks,<br>Michael Grauer<br>R & D Engineer<br>Kitware, Inc.<br>919 969 6990 x322<br><br><br><br>
</div>