Unit 3: Managing Globa Data

3.2 Adding Global Data to your website

Adding Global Data to your website

After you've inputted Global Data in the Content menu in the Editor you can start making full use of it on your website. Many of the modules in the Editor can be set up to fetch content from your Global Data and you can also inject Global Data information directly into paragraphs of text on your pages.  

Using the toggle option on your modules

In order to activate the option for a module to use information from Global Data, open the module and toggle Use Global Data source. In the example below, you can see the option toggled on the Opening hours module. If you, later on, decide to change the opening hours in Global Data, the new hours will automatically appear in your Opening hours module.

anchors enabling

Using Global Data tags in your text

In order to use this option, you need to add a Global Data tag to a text on your website.

  1. Copy-paste tag from Content > Global Data: Under Content > Global Data, you will find all the Global Data fields and their matching tags. Copy the tag (it comes right after the Global Data field label) and paste it into any text in one of your Text modules.
  2. Pick Global Data field from the Text Editor dropdown menu: Within the Text Editor, you'll see a globe logo in the toolbar. Click on it and select the appropriate tag from the dropdown menu.

For example, if you would like your heading to say 'Yoga made simple with..' and then your company name, click the Global Data tag  and insert it. If you later change the company name in Global Data, the name will automatically be updated in your text.