[Building Sakai] How to hide course sites programatically via sql queries.

Steve Swinsburg steve.swinsburg at gmail.com
Tue Jan 22 04:29:47 PST 2013


Oh right, got it. Use the Preferences APi to do this, not SQL

Cheers
Steve

Sent from my iPhone

On 22/01/2013, at 21:40, Jehan Badshah <jehan.badshah at nu.edu.pk> wrote:

> Thanks Steve
> 
> I don't want to unpublish it because student will not able to see it.
> 
> I want to hide them like user hidding it from prefrences, so in future if instructor or student want to browse some data then they should be able to show/view it.
> 
> Thanks
> 
> 
> On Tue, Jan 22, 2013 at 3:18 PM, Steve Swinsburg <steve.swinsburg at gmail.com> wrote:
>> Hi
>> 
>> You can set the site as unpublished and then only instructors/maintainers can see the site. There is an API method to do it, or just flip the flag in the sakai_site table.
>> 
>> Cheers
>> Steve
>> 
>> Sent from my iPhone
>> 
>> On 22/01/2013, at 21:09, Jehan Badshah <jehan.badshah at nu.edu.pk> wrote:
>> 
>> > Dear all
>> >
>> > How to hide course sites programatically via sql queries.
>> >
>> > I want to hide previous semester courses like hiding via prefrences link.
>> >
>> >
>> > Regards
>> >
>> > _______________________________________________
>> > 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/20130122/c68323b7/attachment.html 


More information about the sakai-dev mailing list