Applying Weightloss Guide

If you want to use the Weightloss Guide you will need to decide where you want the feature to appear.

Applying Weightloss Guide

If you want to use the Weightloss Guide you will need to decide where you want the feature to appear.

This is added to a page in the form of a Media Item, this means you can add it quickly without having to understand the Source Code (HTML) of the page.


Creating the Weightloss Guide Media Item

Using the information in the tables below to follow the instructions:

Type HTML
Name BMI Calculator
Code
<!--NHS tool start--><iframe id="tool_download-panels_weight-loss" title="Weight Loss Guide" src="https://assets.nhs.uk/tools/download-panels/index.html?variant=weight-loss&syn_id=aW5mb0B0cmVldmlld2Rlc2lnbnMuY28udWs=" style = "height:100vh; width:100%;" frameborder="0" scrolling="no" seamless></iframe><script src="https://assets.nhs.uk/tools/download-panels/js/iframe_helper.js"></script><!--NHS tool end-->

How to add the Weightloss Guide Media Item

Once created Media Items will appear within the WYSIWYG Editor within the Media Dropdown in the tool bar.

Media Dropdown Media Drop Down
  • It will place the item on the page in relation to where your cursor is
  • It will appear in text form - i.e. %%media-34%%
    (the number is unique to the media item created, so each one will have a different number)

The Weightloss Guide will be automatically inserted instead of the Media Item when you preview the page.