[Building Sakai] Using external javascript

Beth Kirschner bkirschn at umich.edu
Mon Jul 22 16:00:30 PDT 2013


On Jul 18, 2013, at 11:24 AM, Ahmad S Arshad <ahmad.arshad at nyu.edu> wrote:

> THanks Beth,
> 
> a) Would it be possible to enable js for certain users e.g course creators but not others..
> 
Not currently.

> b) Is there a recommended way of using external js without opening up all of js in the properties files. Certain CMSes allow to enqueue js in the header
> 
Not that I'm aware of

> c) Could a tool based approach be better for this purpose?
> 
Probably - depending on what you're trying to do, a light-weight LTI tool might work.

- Beth

> Sincerely,
> 
> Ahmad S Arshad
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> System Administrator & Programmer
> New York University, Global Technology Services
> 3 Washington Square Village, Room 15
> New York University, New York, NY 10012
> 
> 
> On Thu, Jul 18, 2013 at 10:52 AM, Beth Kirschner <bkirschn at umich.edu> wrote:
> Javascript is stripped out due to security concerns. This is configured in https://source.sakaiproject.org/svn//config/trunk/localization/bundles/src/bundle/org/sakaiproject/localization/bundle/content_type/formattedtext.properties
> 
> - Beth
> 
> On Jul 18, 2013, at 10:42 AM, Ahmad S Arshad <ahmad.arshad at nyu.edu> wrote:
> 
> > Hi,
> >
> > Can anyone refer me to a good resource on how to embed javascript or use javascript in sakai. The ckeditor strips it out... Are there specific calls to do that?
> >
> > We are looking to get http://d3js.org/ integrated to make courses more interactive
> >
> > Sincerely,
> >
> > Ahmad S Arshad
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > System Administrator & Programmer
> > New York University, Global Technology Services
> > 3 Washington Square Village, Room 15
> > New York University, New York, NY 10012
> > _______________________________________________
> > 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/20130722/4caf572f/attachment.html 


More information about the sakai-dev mailing list