|
|
Re: How to define a global order of tools in Sakai: msg#00766
cms.sakai.devel
|
Subject: |
Re: How to define a global order of tools in Sakai |
Thanks John/Vivie/Jon.
A follow-up question: we also want to hide some tools from students, but
make them available to the instructors, how can we do that?
thanks,
Lydia
At 12:18 PM 4/28/2006, John Leasia wrote:
Lydia - the toolOrder.xml file, which can be put in your sakai folder next
to sakai.properties, can help with that. There is a sample in the demo
folder in subversion. Here is some info I found form an old email from
Glenn explaining it a bit.
-----------------
From Glenn:
I've restored, sort of, our old feature of assuring a consistent order of
tools in sites. It's a little different than it was.
First, we order the pages when we put them out in the portal. That means
that changing the order will be reflected in all sites. Worksite setup
will not show the order - tools are listed in alpha order there.
The order is by site type / tool category. So we can define an order for
"course" and a different one for "project", and more for other types. A
site type does not have to have any order defined.
The order is read in from an XML file, whose name is configured to the
ServerConfigurationService, and whose location is in sakai.home.
<property name="toolOrderFile"><value>toolOrder.xml</value></property>
That's the default. It can be overridden by sakai.properties, but likely
won't be. Instead, the Sakai installation will just have the desired
toolOrder.xml in the sakai.home location.
The file looks like this, defining an ordered set of tools for each category:
<?xml version="1.0"?>
<toolOrder>
<category name="course">
<tool id = "sakai.synoptic.chat" />
<tool id = "sakai.synoptic.discussion" />
<tool id = "sakai.synoptic.announcement" />
<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.dropbox" />
<tool id = "sakai.chat" />
<tool id = "sakai.mailbox" />
<tool id = "sakai.news" />
<tool id = "sakai.iframe" />
<tool id = "sakai.siteinfo" />
</category>
<category name="project">
<tool id = "sakai.synoptic.chat" />
<tool id = "sakai.synoptic.discussion" />
<tool id = "sakai.synoptic.announcement" />
<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.dropbox" />
<tool id = "sakai.chat" />
<tool id = "sakai.mailbox" />
<tool id = "sakai.news" />
<tool id = "sakai.iframe" />
<tool id = "sakai.siteinfo" />
</category>
</toolOrder>
The "synoptic" stuff at the top is to catch the "home" page. Note the two
assignment entries.
Any page in the site that has a tool in this list will be placed in the
order set by the list. If the page has multiple tools, it will be ordered
with the first one in this list.
All other pages go after the ordered ones.
Help, not being a page really, ends up at the bottom.
----------------------
Lydia Li wrote:
Hi,
This is another question from our pilot team at Stanford:
Is there a way to define a global order of the tools so all the tools
show up in the same order in all of our course sites, and in any new
course sites we create? Currently, the order seems to be random, and
we have to rearrange the order for tools for each individual course
site. If we add a new tool, the order gets messed up again.
It's a little frustrating.
Is there a configuration file? Or does this require code changes?
We'd appreciate any help on this.
thanks in advance,
Lydia
----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.
----------------------
This automatic notification message was sent by Sakai Collab
( http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.
|
|