[Building Sakai] Adding a button to a tool in the portal

Steve Swinsburg steve.swinsburg at gmail.com
Wed Jun 11 20:22:53 PDT 2014


Hi Josh

For an example, have a look at

public String getDirectUrlToUserProfile

In

https://source.sakaiproject.org/svn/profile2/trunk/impl/src/java/org/sakaiproject/profile2/logic/SakaiProxyImpl.java

Cheers
Steve

sent from my mobile device
On 12/06/2014 11:35 AM, "Joshua Swink" <joshua.swink at gmail.com> wrote:

> I would like to add a button to the portal for guest users to reset their
> passwords. The issue is generating the URL to the tool. Is there a way to
> use the ActiveToolManager to find the tool, with the id "sakai.resetpass",
> and then render the URL?
>
> I have added the reset password tool to the !gateway site and it's
> working. If I can generate the URL in SkinnableCharonPortal.java, then I
> could add it to the context and then display it using site.vm.
>
> Josh
>
> _______________________________________________
> 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/20140612/4cfccbcf/attachment.html 


More information about the sakai-dev mailing list