Previewing a page

From Lifeguide Wiki
Jump to navigation Jump to search

Once you have created your page, you can't test it until you have added it to the intervention.lgil file.

When you have added the page to the intervention.lgil file, you can use the 'Preview' function within LifeGuide.

  1. Check the intervention.lgil shows the page you want to view.
    Checking show page is in the intervention file
  2. Click 'Preview' in the top tool bar within the authoring tool.
  3. Make sure the correct 'LifeGuide Project' is selected from the dropdown menu
  4. Select either Intervention Project, Single Page or Debug mode
    • If you want to look at the intervention from the beginning, select Intervention project
      This takes you to the start of the intervention and lets you move through the pages like an end-user
    • If you want to pick a page to view, select Single page.
      This will take you to a list of all the pages in the intervention. You can pick which one to view.
    • If you want to rigorously test your intervention, you can choose Debug Mode
      This is best for advanced users as it allows you to force end sessions and view the source code created by Lifeguide.
  5. Click 'Ok'.
    Previewing a page.
  6. Your intervention will open in your default browser.

Using this function means you don't have to upload your intervention to the server, which takes a little longer to do. The Preview function is very useful, especially if you are writing complicated logic. It doesn't require an internet connection and you can use it regularly to check the intervention is working as you intend.

N.B. If you want to check that emails and text messages are working, you will need to upload your intervention to the server. They will NOT work in preview mode.