+ Reply to Thread
Results 1 to 3 of 3

Thread: Weather forecast plugin questions

  1. #1
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248

    Weather forecast plugin questions

    Hi Flynax,

    1. How do I set the language to be always in English, regardless of which language user choose?
    in plugins/weatherForecast/js.tpl

    I changed
    Code:
    Only registered members can view the code.
    to:
    Code:
    Only registered members can view the code.
    But it gives error, stuck at loading...

    2. How do I change weather icons?
    in plugins/weatherForecast/rlWeatherForecast.class.php

    I found
    Code:
    Only registered members can view the code.
    I assume these are where I need to look at to change icon. I'm not sure. If I have an icons folder in the plugin. Is there simple way to change icon to the relative weather condition?

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    1. You need to set it as follows:

    var weatherForecast_lang = "en";

    then go to tpl > head.tpl

    change:
    Code:
    Only registered members can view the code.
    to:
    Code:
    Only registered members can view the code.

    2. You can change icons via static > style.css > see weather-icon classes

  3. #3
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248
    Got it, thanks Rudi

+ Reply to Thread