General developer forum

Scorm scripts

 
Picture of Gareth Jones
Scorm scripts
 

Okay so, I built a custom Moodle Theme using <?php echo $OUTPUT->main_content(); ?> in addition to using some custom SQL queries and also some additional CSS, HTML and Javascript files. Im having a few problems with SCORM course and quizes in addition to some other YUI components. Is there anyway that I can output the JavaScripts files which are relevant to the different module parts?


For example, I have a mod_scorm.php file which displays when a SCORM package activity is loaded in the theme. The issue is that the page is blank since <?php echo $OUTPUT->main_content(); ?> only echos the html content whereas I require the Javascript files in order to get the SCORM file to run correctly.


Best regards,

Gareth

 
Average of ratings: -