Embedding NetLogo Models in Moodle 2.9 Environment



Two years ago, I was able to embed Netlogo models in Moodle using an available plugin uploaded to Moodle's website. But I couldn't find it right now though, so I decided to do it from scratch.

If you are a teacher and you're using Moodle for your class, it would be very convenient embedding your models in your course page. Before you can do that, you need to communicate with your Site Administrator to do the following:

  1. In the server, create nlogo folder inside the moodle folder.
  2. Copy NetLogoLite.jar from your local NetLogo folder (i.e. C:\Program Files\NetLogo 5.1.0) to nlogo folder (i.e. \xampp\htdocs\moodle\nlogo).
  3. Copy the necessary models as well to  nlogo folder.

Once done with the server setup, log in to your Moodle account and try embedding your first model:
  1. Select which week/topic section you want the model to appear. Then, click the gear icon to edit summary.
  2. Click Show More button to expand the toolbar.
  3. Click the HTML button at the rightmost bottom of the toolbar menu.
  4. Paste the code shown below then click Save Changes. Note: You need to replace the filename to the actual name of the model.
  5. If you see a Security Warning prompt message, just click Run or click Update to apply Java update first.
  6. You should see the model loaded successfully.
  7. Enjoy sharing your models to your class!

Important Reminder: Applets are dead according to the NetLogo team. Check the link for details: https://github.com/NetLogo/NetLogo/wiki/Applets
Share on Google Plus

About SSabal

:)
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment