[Building Sakai] Default an External Tool as on or checked

Steve Swinsburg steve.swinsburg at gmail.com
Wed Jul 9 14:31:58 PDT 2014


Hi,

You can create a toolOrder.xml file that defines the tools and their
defaults, and drop it into Tomcat/sakai/toolOrder.xml (or wherever your
sakai.properties file lives).

 For example:

<?xml version="1.0"?>
<toolOrder>
    <category name="course">
        <tool id="sakai.iframe.site" selected="true"/>
        <tool id="sakai.synoptic.chat" selected="true"/>
        <tool id="sakai.synoptic.discussion" selected="true"/>
        <tool id="sakai.synoptic.announcement" selected="true"/>
        <tool id="home" selected="true"/>
        <tool id="sakai.syllabus" selected="true"/>
        <tool id="sakai.schedule" selected="true"/>
        <tool id="sakai.announcements" selected="true"/>
        <tool id="sakai.resources" selected="true"/>
        <tool id="sakai.discussion" selected="true"/>
        <tool id="sakai.assignment" selected="true"/>
        <tool id="sakai.assignment.grades" selected="true"/>
        <tool id="sakai.samigo" selected="true"/>
        <tool id="sakai.gradebook.tool" selected="true"/>
        <tool id="sakai.dropbox"/>
        <tool id="sakai.rwiki" selected="true" />
        <tool id="sakai.chat" selected="true"/>
        <tool id="sakai.mailbox" selected="true"/>
        <tool id="sakai.news" selected="true"/>
        <tool id="sakai.iframe" selected="true"/>
        <tool id="sakai.presentation"/>
        <tool id="sakai.sections" selected="true"/>
        <tool id="sakai.site.roster" selected="true"/>
        <tool id="sakai.siteinfo" required="true"/>
    </category>
    <category name="project">
        <tool id="sakai.iframe.site"/>
        <tool id="sakai.synoptic.chat"/>
        <tool id="sakai.synoptic.discussion"/>
        <tool id="sakai.synoptic.announcement"/>
        <tool id="home" selected="true"/>
        <tool id="sakai.syllabus"/>
        <tool id="sakai.schedule"/>
        <tool id="sakai.announcements"/>
        <tool id="sakai.resources"/>
        <tool id="sakai.discussion"/>
        <tool id="sakai.assignment"/>
        <tool id="sakai.assignment.grades"/>
        <tool id="sakai.samigo"/>
        <tool id="sakai.gradebook.tool"/>
        <tool id="sakai.dropbox"/>
        <tool id="sakai.chat"/>
        <tool id="sakai.rwiki"/>
        <tool id="sakai.mailbox"/>
        <tool id="sakai.news"/>
        <tool id="sakai.iframe"/>
        <tool id="sakai.presentation"/>
        <tool id="sakai.sections"/>
        <tool id="sakai.site.roster"/>
        <tool id="sakai.siteinfo" required="true"/>
    </category>
    <category name="collaboration">
        <tool id="sakai.iframe.site"/>
        <tool id="sakai.synoptic.chat"/>
        <tool id="sakai.synoptic.discussion"/>
        <tool id="sakai.synoptic.announcement"/>
        <tool id="home" selected="true"/>
        <tool id="sakai.syllabus"/>
        <tool id="sakai.schedule"/>
        <tool id="sakai.announcements"/>
        <tool id="sakai.resources"/>
        <tool id="sakai.discussion"/>
        <tool id="sakai.chat"/>
        <tool id="sakai.rwiki"/>
        <tool id="sakai.mailbox"/>
        <tool id="sakai.news"/>
        <tool id="sakai.iframe"/>
        <tool id="sakai.presentation"/>
        <tool id="sakai.sections"/>
        <tool id="sakai.site.roster"/>
        <tool id="sakai.siteinfo" required="true"/>
    </category>
</toolOrder>




On Thu, Jul 10, 2014 at 3:47 AM, Brett Parker <brparke1 at wsc.edu> wrote:

>  Greetings,
>
> Hoping someone out there has done something like this before.  We have an
> external tool that we want all our sakai classes to have by default.  I
> have created the tool on the sakai server so it is available for everyone
> but I would like it to be automatically checked, and if possible greyed-out
> (like Site Info) in the Edit Tools window of Site Info.  This way it is
> included into every class that is created be automatically.
>
> Thanks.
>
> -Brett-
>
> _______________________________________________
> 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/20140710/52cea769/attachment.html 


More information about the sakai-dev mailing list