Zap Weather Change Log

More information about Zap Weather can be found at ZContent.net/products/zapweather

Version 10

Zap Weather version 10 supports Joomla 3.x

10.1.0
Released March 22, 2017
Fix: Changed URL Soap requests from http to https to National Weather Service (NWS), which is now a requirement. Forecasts should now work!
New: Log file now available showing errors and debugging information. Enable from global Zap Weather settings.

10.0.0
Released January 11, 2017
New: new forecast module
New: support for PHP 7
Fix: Observation data now displays correctly

Version 9

Zap Weather version 9 supports Joomla 3.x and 2.5

9.0.0
Released January 21, 2014
New: support for Joomla 3.x
New: added additional weather stations to database
Fix: alert URL was incorrect when using the Zap Weather module.

Version 8

Zap Weather version 8 supports Joomla 2.5.

8.0.3
Released August 1, 2013
Fix: "Bad Service Input" error in module fixed (update both component and module)

8.0.2
Released June 23, 2013
Fix: CSS fixes for alert display
Fix: fixed print icon URL for alert display

8.0.1
Released June 22, 2013
New 3 hour forecast option
New module for displaying weather data
New plugin for displaying weather data within an article or custom HTML module. See support section for use
Plugin and module automatically installed with component

Version 7

Zap Weather version 7 supports Joomla 2.5.

7.0.2
Released March 4, 2012
Added alert and current conditions to component
Added weather data cache status display in location manager
Fixed weather data cache management issue

7.0.1
Released February 26, 2012
Initial release of Zap Weather version 7. Initial component release supports 12 and 24 hour forecast displays.

The Zap Weather Content Plugin

The Zap Weather plugin is a way to display customized weather information on your website.  With this plugin, weather information can be displayed either within an article or from a custom HTML module. The plugin has access to over 50 weather data items, including multiple period data in the forecast data items.

Read more: The Zap Weather Content Plugin

Zap Weather Content Plugin Examples

This page contains examples using the Zap Weather content plugin, which can display weather information within a Joomla article or custom HTML module. The sample output below is showing current weather information for Los Angeles using this plugin. To use these examples on your site, just copy the code and paste the code into your Joomla article or custom HTML module. Change the location variable "loc" for your particular site, using the location id in Zap Weather's list of locations.  In most cases, you will need to paste this code into the HTML code window of the editor (for example, the "HTML" icon in the standard Joomla editor or the "<>" icon or "[show/hide]" option in the JCE editor) in order for the HTML tags to be inserted properly.  For a full list of variables that can be used, including variables for forecasts, observations and alerts, read the Zap Weather content plugin article.

 

DescriptionSample OutputCode

12 Hour Forecast - 2 periods in a horizontal layout

{zweather loc=1}
{zweather var=f12_periodname,index=1}


{zweather var=f12_weather,index=1}
Hi: {zweather var=f12_maxtemp,index=1}°
Low: {zweather var=f12_mintemp,index=1}°
{zweather var=f12_periodname,index=2}


{zweather var=f12_weather,index=2}
Hi: {zweather var=f12_maxtemp,index=2}°
Low: {zweather var=f12_mintemp,index=2}°
24 Hour Forecast - 2 periods in a vertical layout {zweather loc=1}
Today:
{zweather var=f24_weather,index=0}
Hi: {zweather var=f24_maxtemp,index=0}°
Low: {zweather var=f24_mintemp,index=0}°
Tomorrow:
{zweather var=f24_weather,index=1}
Hi: {zweather var=f24_maxtemp,index=1}°
Low: {zweather var=f24_mintemp,index=1}°
Current Conditions - A basic layout {zweather loc=1}
{zweather loc=1} {zweather var=o_weather}
{zweather var=o_tempstr}

Zap Weather Plugin FAQ

What is the Zap Weather plugin?

The Zap Weather plugin is a way to embed weather data into your article content or custom HTML module.  It can be as simple as displaying a single data item like today's weather forecast or it could be a fully formatted HTML page with many weather data items and css styles.  You can see an example and more information about this plugin in the Zap Weather plugin examples article.

Why should I use this plugin?

The Zap Weather plugin gives you complete control over the formatting of weather data. You no longer need to be a programmer to customize the output from Z Weather. If you know how to use the Joomla editor, you can add weather data to your articles.

How do I use this plugin?

View the articles in our support section that show you how to use the plugin, including several live examples.

Can I create my own weather module using this plugin?

Yes! You can use the custom HTML module to create your own custom weather module.  Make sure you have enabled the content plugin setting in the module settings.

Does using the plugin slow down my site?

The plugin shares the same XML cache of weather data that the Zap Weather component.  Zap Weather's cron feature can speed up accessing weather data by refreshing the XML data in the background.  Enabling page caching in Joomla will cache the output generated by the Zap Weather plugin and any other modules and plugins in use, resulting in faster display of web pages even on those pages not utilizing the Zap Weather plugin.

Installation Guide for Zap Weather

Version 7 and Above

Starting with version 7, Zap Weather fully supports Joomla 2.5.  Features include 3, 12 and 24 hour forecasts, observation and alert displays and support for automatic updating of weather data using a cron job.

Installing the Component

Like other Joomla components, install the component using the extensions manager.  Once installed, go the the Zap Weather component page in the back-end to define your location.  Zap Weather's forecast feature utilizes the latitude/longitude values in the location settings.  Enter the values for your location, or you can enter a zipcode to lookup the latitude/longitude values.

Once your location is saved, you can now create a menu item for your location.  Select the Zap Calendar / Single Location option, specify the location and weather settings and save your menu.  You can now select the menu item on the front end to display the weather for the location you just created. (Note: the initial beta only supports 12 and 24 hour forecasts).

Beginning with version 8, a module and plugin are included and are automatically installed. You will need to enable the Zap Weather plugin using the Joomla plugin manager.  The plugin is located in the content folder.

Cronjob Support

Using the cronjob feature can greatly enhance the performance of your site.  When the cronjob is not in use, users visiting your website may trigger a data pull from the NWS site, slowing performance.  When the cronjob is used, users are not slowed down by data pulls.

The cronjob support is greatly simplified in version 7.  From the global settings in Zap Weather, turn off the option "Front-End Data Refresh".  You will then need a cronjob to run at a regular interval (every 10 minutes is suggested).  This cronjob will include a URL similar to the following:

http://mysite.com/index.php?option=com_zweather&task=cron

This URL can be run from a browser for testing purposes, but you will need to include the IP address of your computer in the IP setting in Zap Weather's global settings

 

Version 6 Instructions

These are the installation steps for version 6, which is for Joomla 1.5 only.

Read more: Installation Guide for Zap Weather