how do create a plugin for canvas lms ?

1,920 views
Skip to first unread message

Mohseen khan

unread,
Aug 14, 2015, 8:13:38 AM8/14/15
to Canvas LMS Users
Hello ,

i just want to create a  plugin for my canvas server ,
i used method defined in  http://guides.rubyonrails.org/plugins.html
but it is not visible to the plugin list page  of the canvas

Please help me.


Thanks in advance

Graham Ballantyne

unread,
Aug 14, 2015, 11:32:15 AM8/14/15
to canvas-l...@googlegroups.com
In order for a plugin to show up at /plugins you need to register it. See https://github.com/sfu/canvas_spaces/blob/master/lib/canvas_spaces/engine.rb for an example. However, this isn't required for your plugin to work; it is only needed if you want to expose a UI for enabling/disabling your plugin and storing settings. 

— Graham
--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mohseen khan

unread,
Aug 25, 2015, 8:57:01 AM8/25/15
to Canvas LMS Users
Hello Graham ,
i tride as per your suggestion but still it is not visible to the plugins  list

here is my path "canvasfolder/gem/plugin/wiziq/lib/wiziq/engine.rb"

please help me ASAP

Nick Kokkos

unread,
Aug 26, 2015, 1:32:48 AM8/26/15
to Canvas LMS Users
wiziq?
Are you trying to create a plugin for wiziq?  I believe Canvas has dropped support for WizIq
See similar question here: https://groups.google.com/forum/#!searchin/canvas-lms-users/wiziq/canvas-lms-users/Wo1FGCV7DXs/l01MF4pYDwAJ

Nick Kokkos

unread,
Aug 26, 2015, 1:39:10 AM8/26/15
to Canvas LMS Users
You can find wiziq plugin in this release:
https://github.com/instructure/canvas-lms/tree/06dfa7fb6ddeb0fc63a31c723586e620ebbfbe5d
It's in /vendor/plugins/wiziq.

I believe, but just copying the folder wiziq from this old release to the release
that you have, should get it back working.

Mohseen khan

unread,
Aug 26, 2015, 2:41:21 AM8/26/15
to Canvas LMS Users
Hello Nick,
Thank you for the response,
yes i am trying to create a plugin for wiziq ,but to new release of canvas LMS, i have latest release of canvas
LMS,can you give me any Suggestion / Resource / Document  to create a plugin for canvas

Please Help !

Nick Kokkos

unread,
Aug 26, 2015, 7:17:51 AM8/26/15
to Canvas LMS Users
Read my last response. It's pretty much self-explanatory.

sewak deshmukh

unread,
Aug 31, 2015, 2:18:02 AM8/31/15
to Canvas LMS Users
Hello,
I am getting below error while deployeeing wiziq plugin at gems/plugins/wiziq

Auto Generated Inline Image 1

Cody Cutrer

unread,
Aug 31, 2015, 10:29:54 AM8/31/15
to canvas-l...@googlegroups.com
Sewak,

Did you create the gemspec? The error is that it's looking for gems/plugins/wiziq/wiziq.gemspec, and either not finding one, or the one it found is not valid.

Cody Cutrer
Software Engineer
Instructure


--
Reply all
Reply to author
Forward
0 new messages