Modify the GK WIND value without decimal
Easy to use and free Joomla module to display weather with forecast from Yahoo.
Rate this topic:
- GK User
- Mon Feb 23, 2015 5:43 pm
Hello,
I would like to modify the GKWIND value for using on my website a whole number value, is it possible? how can i access to this value?
Thank you in advance for your precious help.
I would like to modify the GKWIND value for using on my website a whole number value, is it possible? how can i access to this value?
Thank you in advance for your precious help.
-
- Fresh Boarder
- GK User
- Mon Feb 23, 2015 5:50 pm
Hi. GK Weather is using Yahoo Weatcher API.
some useful code you will find here: modules\mod_weather_gk4\tmpl\yahooView.php
some useful code you will find here: modules\mod_weather_gk4\tmpl\yahooView.php
-
- Platinum Boarder
- GK User
- Tue Feb 24, 2015 10:22 am
I try to modify the line 32
Maybe i can add round () ? Maybe have you another tips ?
Thx for your help.
- Code: Select all
<?php if($this->config['showWind'] == 1) : ?><p class="gkwWind"><?php echo $this->parsedData['current_wind']; ?></p><?php endif; ?>
Maybe i can add round () ? Maybe have you another tips ?
Thx for your help.
-
- Fresh Boarder
- GK User
- Tue Feb 24, 2015 10:28 am
sorry but I'm not certificated php developer to help you, besides php tips are not part of GK support.
-
- Platinum Boarder
4 posts
• Page 1 of 1