[Using Sakai] Hide Sakai iframe link

Perpich, Diana dperpich at umich.edu
Mon Oct 4 06:11:34 PDT 2010


Hello, Julio--

Here's something we've done with a site that has a similar need to hide the tool nav at the left.  In our case, we were hiding it from students, but I don't know why it wouldn't work with anon.

The site owner can create the page with the web content tool as he/she would normally.

Then, 

1.  as an admin go to the Sites tool and search for that site.

2.  go to Pages and select the Web Content page you just created.

3.  go to Tools for that page and select the iframe tool.

4.  on the bottom of the Tools page, you'll find Configuration: function.required.

If you put a realm function in there that the .anon role doesn't have, then visitors in the .anon role won't see the link at the left.

Where are the functions?  They're listed in Realms.  One obvious one that .anon shouldn't have is "dropbox.own."  So, type dropbox.own into the function.required field for that particular Web Content tool/page on that site.  That should do it.  Anyone who can own a dropbox should be able to see the Web Content link at the site, anyone who can't own a dropbox won't. 

You could use site.del as the function.required if you only wanted Owners of the site to see the link at the left, for instance.  Have fun, experiment.!  :^)

We did this in a site with 5000 users where we had 10 web content pages and student split into groups... actually, these were new Realms at the site.  All copies of the Student realm with one additional obscure function.  Each student saw only the web content link that was assigned to his/her group of students.

I presented this as part of our Mega Sites session at the Boston conference in Summer 2009, but it was buried in a bag of tricks and may have gone more or less unnoticed.

Don't forget, you need someone with access to the Sites tool to perform this prestidigitation.  Site Owners can't do it themselves. 

[dlp]

diana perpich | digital media commons | university of michigan



On Oct 3, 2010, at 11:13 PM, Marshall Feldman wrote:

> Dear Julio (this is your name, isn't it?),
> 
> I don't think Sakai lets you do what you want. Sakai is a bit of a 
> nanny. If you use a tool, you must have the tab.
> 
> I'd like to know how to do this too, but I think Sakai won't let you do 
> it. When I get the chance, I want to experiment with FireBug and using 
> jQuery to manipulate the DOM to try to get Sakai to behave the way I 
> want, rather than have it make me behave the way Sakai wants. In the 
> meantime, I use Sakai for only what I need it to do, and do the rest on 
> a regular web server.
> 
>     Marsh Feldman
> 
> 
> 
> On 9/30/10 [Sep 30, 10] 3:00 PM, 
> sakai-user-request at collab.sakaiproject.org wrote:
>> Date: Wed, 29 Sep 2010 21:52:00 -0700 (PDT)
>> From: "leitao.da.silva"<leitao.da.silva at gmail.com>
>> Subject: [Using Sakai] Hide sakai-iframe link
>> To:sakai-user at collab.sakaiproject.org
>> Message-ID:<1285822320150-5586597.post at n2.nabble.com>
>> Content-Type: text/plain; charset=UTF-8
>> 
>> 
>> Hello,
>> 
>> I have a page with some other sakai-iframes ( sections ).
>> 
>> I want the page to be available to anonymous, but to not have the link on
>> the left navigation menu.
>> 
>> If I Hide the tool in the left navigation, then the link is not accessible
>> by anonymous.
>> 
>> How can I hide the page/tool from the left navigation menu but still having
>> the page accessible by anonymouys users?
>> 
>> I tryed several options, even javascript and css, there are related posts,
>> but none solved this issue, I would like to know if there is normal solution
>> within Sakai.
>> 
>> Thanks in advance.
>> J?lio Siva
>> 
> 
> _______________________________________________
> sakai-user mailing list
> sakai-user at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
> 
> TO UNSUBSCRIBE: send email to sakai-user-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-user mailing list