Best practice forum (Archived)

该论坛讨论已删除

 
该论坛帖子已被删除
2012年04月18日 Wednesday 08:44
该论坛帖子的内容已被删除,无法再访问。
CogginsSimon
Re: Adding Jquery - Lightbox
CogginsSimon 发表于 2012年04月19日 Thursday 14:01
小组 Totara

Totara already uses jquery, so you'd just need to add your plugin as an extra option.

Take a look at local/js/lib/setup.php which handles including javascript files in totara. You should be able to add another option, then include it in pages using the local_js() function.

Simon

该论坛帖子已被删除
2012年04月24日 Tuesday 08:25
该论坛帖子的内容已被删除,无法再访问。
CogginsSimon
Re: Adding Jquery - Lightbox
CogginsSimon 发表于 2012年04月29日 Sunday 16:18
小组 Totara

Hi Vijay,

Sorry, totara support doesn't really cover helping out with code customisations, we're pretty busy working on the 2.2 release at the moment so I can't really be of any more help.

Simon