LM-Light: A New E-Learning Standard
About LM-Light Courses Learning Management Systems More Info

Introduction

The LM-Light Standard
 - Course Structure
 - LM-Light Tags
 - Starting a Course
 - On Each Page
 - Exiting a Course
 - Starting a Test
 - Saving a Test Score
 - Course Completion
 - Configuration File

Course Development
 - Development Environment
 - Using a Text Editor
 - Including Tests
 - Using PowerPoint
    - Option 1 - PDF
    - Option 2 - GIF/JPG
    - Option 3 - HTML
 - Using Lectora
 - Download Tools
 - Diagnosing Problems

Home Page

LM-Light Standard : Creating Courses : On Each Page

Any page that requires either:

  • authentication; or
  • access to the LM-Light routines
must include the following LM-Light tag at the top of the page:

<?php require "LM-Light.php"; ?>

Very Important: This tag must be the first thing in the file, and must precede all other LM-Light tags.

Examples

The following example is valid:

<?php require "LM-Light.php"; ?>
<?php LMsetBookmark(); ?>
<html>
<head>
  <title>A Sample Page from a Course</title>
</head>
<body bgcolor="#ffffff">

[the body of the page]

</body>
</html>

The following example is NOT valid - the 'require "LM-Light.php";' tag should precede all other LM-Light tags:

<?php LMsetBookmark(); ?>
<?php require "LM-Light.php"; ?>
<html>
<head>
  <title>A Sample Page from a Course</title>
</head>
<body bgcolor="#ffffff">

[the body of the page]

</body>
</html>

 

Copyright & Licensing Information
Unless otherwise stated, material in this website is Copyright, Addison Robson LLC. Use of the website content for commercial and non-commercial purposes is permitted under Creative Commons licenses. For more information, please consult [this page] or use [this form] to contact us.
Creative Commons License