Software

Hop Weather

Current Version: 2.1.1
  • Installation

    1. Unzip the folder to a temporary location on your local hard drive.
    2. FTP the files from their local folders to the same locations in your EE install’s /system/user/addons/ folder on the server.
    3. Navigate to Add-ons in your EE control panel and install the add-on. That’s it!

  • Usage

    Visit https://w1.weather.gov/xml/current_obs/ to find an airport code for the location you want weather conditions for.

    Then, add the this tag to your template, and a short weather update from http://www.weather.gov/ will output in HTML:

    {exp:hop_weather airport_code="KDCA"}

    or

    {exp:hop_weather airport_code="KDCA"}
    <span>{weather_string}</span>
    <span>{temp_f}</span>
    <span>{temp_f_round}</span>
    <span><img src="{icon_url}" /></span>
    {/exp:hop_weather}

    The results are cached for 300 seconds.

    Alternatively, if you want to show the upcoming three-day forecast, use the forecast parameter, along with longitude and latitude:

    {exp:hop_weather forecast="yes" long="-77.03" lat="38.89"}
  • Updating

    Updating is easy:

    1. Download a new version from this website, and extract on your hard drive.
    2. Upload the new files to their appropriate locations.

  • Uninstalling

    1. Navigate to the Add-Ons/Modules tab in your EE control panel and uninstall the module.
    2. Remove the add-on directory from your EE system folder on the server.

  • Version History

    2.1.1
    Change weather.gov request from http to https
    2.1.0
    Add new tag with support for 3 days forecast (EE3/4 only)
    1.0
    Initial release

Have a Project for Us?

Get in Touch