[Building Sakai] Fwd: navIntraTool's menu

Adrian Fish adrian.r.fish at gmail.com
Fri Jun 22 01:52:06 PDT 2012


#toolbar is a velocity macro and it can be found in the Sakai velocity
project, in tool/src/templates/VM_chef_library.vm. You'd need to modify it
there and rebuild the velocity project.

Cheers,
Adrian.

On 22 June 2012 03:28, Zoljargal Munkhjargal <zoljargal.m at gmail.com> wrote:

> I’m trying to put different icons in front of the menu’s in the
> navIntraTool that differ based on the menu item.
>
> I found follow vm script in announcement module.
> In here, I can change firstToolBarItem, but I can't change other menu
> items.
> I think, the other menu items are rendered *#toolbar($menu)* function but
> I can't find declaration of *#toolbar($menu)*  function.
> Can you tell me where is it?
>
> <div class="portletBody">
> #if ($isOnWorkspaceTab.equals("false"))
>  #if($menu && $EnabledMenuItemExists)
> #if ($toolId == "sakai.synoptic.announcement")
>  <ul class="navIntraTool actionToolBar" role="menu">
> *<li class="firstToolBarItem" role="menuitem">*
>  <span>
> <a href="#" title="$tlang.getString("gen.recopt")" onclick="location =
> '#toolLink("$action" "doOptions")';return false;">
>  $tlang.getString("custom.options")
> </a>
> </span>
>  </li>
> </ul>
> #else
>  *#toolbar($menu)*
> #end
> #end
>  #end
>
> --
> _______________________________
>
> *ZOLJARGAL Munkhjargal*
>
>  Engineer of Study
> School of Information Technology
>  National University of Mongolia
>
>  Tel:          +976 77307730 3307
> Email:      zoljargal.m at gmail.com
> Website:  www.sit.num.edu.mn
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120622/b104c26f/attachment.html 


More information about the sakai-dev mailing list