How to put scorm packages externally into moodle? - php

I have a specific requirement.
How one can put scorm packages externally but using moodle scorm uploading functionality so that the package content will show up in moodle course.
It is like, i am putting all scorm activity details in DB from back end and wants to put the package also from back end without using any UI thing to upload the content.
I can simply move the file but moodle used to encrypt it before storing. so i have to use moodle scorm uploading functionality from backend.
If anyone have any idea or any other way to solve this, Please let me know.

You can enable this feature in site administration. It's called "Enable external package type". Here's instructions.

Related

How to create a local LRS and intergrate with Tin can Api using PHP to run on my SCORM package

I am trying to create a SCORM package and generate statements for the same.
I want to create a local LRS & Tin Can Api setup and generate statements from my scorm and display result in my php page.
I have created a LRS using the following link (http://onetarek.com/tin-can-api/guidephp-simple-lrs-with-tin-can-api/).
I have downloaded Tin Can Php sample and installed in my local, Unfortunatly it is not working. As i need to set my endpoint and auth credentials. I have no idea to do it to my local setup of LRS.
How to do this ?
I also want to host my SCORM package to any LMS and test with these setup.
I have analysed many forums and post, but nothing worked out.
I am lost. Need some resolution.
Kindly help.
-Vignesh Selvarajan
That post is quite old and even the original author probably wouldn't suggest that approach. He would probably suggest, and if your LRS must be local and PHP I would agree, that you should check out the Learning Locker LRS.
http://learninglocker.net/
Alternatively you could use Rustici's SCORM Cloud which supports import/launch for both SCORM and Tin Can packages, and will create statements in the LRS for launched SCORM content. It has an API for integrating with an LMS. You may also want to check out the Dispatch feature for hosting packages in other LMSs.
http://scorm.com/scorm-solved/scorm-cloud-features/
HTH.

Moodle module no database

I want to develop a module for Moodle 2.0 that doesn't need database.
How should I fill the install.xml file when I will not have tables in the database?
Thanks for the help.
Greetings!
If you don't have a need for a database then you don't need to have an install.xml file at all. Moodle will still happily install a plugin without one.
Remember, if you do want a table within the database, the best method for creating that file is using:
Site Administration -> Development -> XMLDB editor
This presents you with a relatively easy to use UI and ensures that Moodle will be happy with your XML.
Don't create db folder in plugin.

hosting PHP application within moodle LMS

Good day, I would like to know if there is a way to run a php application within the moodle LMS.
Prior to implementation in php, the information was in the form of static html documents, which were simply uploaded into folder and accessing the files gave the appearance of a site hosted within moodle.
Can such a functionality be replicated using PHP files that require service processing for desired features.
If not what are the best options for giving users a similar experience.
thanks
You can use plugins(Blocks or Module) to develop applications within Moodle. The pre-condition is that you need to follow Moodle programming guidelines to create a plugin.
More details here:
http://docs.moodle.org/dev/Modules
http://docs.moodle.org/dev/Blocks
However, you need to decide whether you need a Block or an Activity Module and it can be determined only after seeing the requirements.

PHP: Load Lectora SCORM Module

How would I go about loading a module created with Lectora, with PHP? I can't seem to find any good tutorials. Using an LMS like Moodle is out the question unfortunately. The module is in the form of a .zip file.
Based on your response in the comments and assuming the instructional designer creating the course publishes the course using the HTML option than the zip file will just contain standard html, JavaScript and image files. You can just use standard tools to unzip the package and FTP or copy the files to the web server and do not need any special tools or scripts on the server side to unpackage the course. A published Lectora HTML course will have an index.html at the root of the package that you will want to link to when launching the course. Hope this helps.

Joomla Random Image

I have been searching a plugin/module for Joomla where:
Loads random image on page refresh
Have each image have their own URL
Has to work with Joomfish (multilingual)
Let me know if you have found any alternative component or module for this type of usability.
The reason why I wanna keep it as a module is I want the client to actually update it by themselves.
That should be pretty straight forward to implement on your own. If you want your clients tu update it by themselves you would need to create a component where they will be able to manipulate all the options. The core functionality would go to a module. Top this up with some configuration files for joomfish and you're done. Here are some references:
Component development
Module development
Joomfish integration

Categories