Customization: User Defined Variables |
Once you have installed HAMweather and started using it, you will then want to begin customizing it to you specific needs. Customization of HAMweather comes in several forms. You can customize the various weather icons, templates, create themes and even allow for multiple users to have their own customized weather sites. The following sections review the various aspects of this customization process so that you can perform the customization yourself, but if you prefer, HAMweather, LLC offers customization services. These services can include custom template and icon design or even the creation of custom themes. For more information or request customization services refer to the HAMweather, LLC customization page.
Customization : Templates |
Customizing the HAMweather templates is probably the most common and easiest way to customize HAMweather to match you needs. The templates that come with the HAMweather distribution are in the template directory of the HAMweather CGI path. (Yes these templates do belong with the cgi scripts, for web visitors will not be viewing them directly.) In this directory you will find several templates that came with the HAMweather distribution or from the Pro .
You may now be wondering, "How do I know what each template is used for?" The following table reviews what each template in the distribution is used for. You can actually modify what templates are used by using the HAMweather web administration.
|
These template can be designed using most any web authoring utility. The difference between making an html page and the template is that the templates are a "basic" design with variable names inserted where HAMweather is to insert data.
The variables used by HAMweather use the following format: %%variablename%%
Thus, If you want the current state to be outputted in the template then add %%state%% to the template where you would like the current state name to be placed.
There are many variables that can be used in your HAMweather templates. The following table lists them. Some variables are only available for certain forecast types. This is indicated as well.
|