DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Start

Create the records

Before any cities record can be shown in the frontend those need to be created.

  1. Create a new sysfolder and switch to the list module. (Of course you can also use an existing sysfolder or normal page).
  2. List view: Use the icon in the topbar “Create new record” and search for “Accuweather” and its records. You should see “City”.
  3. Click on “City” to create a new city record. Fill as many fields you want to field.

Add a plugin to a page

A plugin is used to render a defined selection of records in the frontend. Follow this steps to add a plugin to a page:

Weather for the next 4 days for a city

  1. Create a new page “City weather” (or however you want to name it) and insert the plugin “Weather for the next 4 days for a city” there again.
  2. In “Options” tab you need to select a country and a list page.
  3. Save the plugin
  4. After you select a country and save the plugin, under the country select box you will find a city selector. Select one city from there.
  5. Save the plugin again.

Current temperature for a few cities

  1. Create a new page “Current temperature” (or however you want to name it) and insert the plugin “Current temperature for a few cities” there again.
  2. In “Options” tab you need to select a country, one ore more cities and a list page.
  3. Save the plugin

Search for a city from a country

  1. Create a new page “City search” (or however you want to name it) and insert the plugin “Search for a city from a country” there again.
  2. In “Options” tab you need to select a country and a list page.
  3. Save the plugin