Weather module in Events

Professionally designed and responsive events Joomla template to launch your event based website.
GK User
Sat Apr 22, 2017 3:44 pm
Just discovered your whether module ... just what I need for my site. Love it!

One question: how can I center the current weather image? It's currently on the left side of the screen, which doesn't look right... https://cineaulac.ch/index.php/wetter

I currently have it loading within an article so that I can add text .. but is that the right way?

Thanks!
User avatar
Junior Boarder

teitbite
Sun Apr 23, 2017 6:06 pm
Hi

Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
.gkwMainLeft {
    float: none;
    text-align: center;
}

.gkwMainRight {
    float: none;
    margin: 0;
    text-align: center;
}
User avatar
Moderator

GK User
Sun Apr 23, 2017 9:00 pm
Brilliant, works like a charm! Thanks, teitbite.
User avatar
Junior Boarder

teitbite
Tue Apr 25, 2017 11:11 am
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator

GK User
Thu Apr 27, 2017 7:44 am
Hi teitbite,

Sorry, I'm back ... I've noticed that, despite having translated all the weather information into German, I'm still seeing English descriptions on https://cineaulac.ch/index.php/wetter. Can you please explain this?

I'm on V.1.7.4 (last advertised is 1.6.7) ... is there a newer version?

Many thanks!
User avatar
Junior Boarder

teitbite
Fri Apr 28, 2017 4:24 pm
Hi

Module is only showing what was received from yahoo site. You need to use resource in Your language in order to get the correct translations.
User avatar
Moderator

GK User
Fri Apr 28, 2017 4:59 pm
Hi titbite,

Not sure I understand your reply: I've taken the en-GB.mod_weather_gk4.ini from the e-GB folder, renamed it to de-DE.mod_weather_gk4.ini and put it in the de-DE folder. All relevant expressions have been translated (manually) into German. What "resource" are you referring to?

Interestingly, some expressions are correctly shown in German, whereas others (such as "Rain") are still in English. Can you elaborate a bit more, please?

Many thanks!
User avatar
Junior Boarder

teitbite
Wed May 03, 2017 9:11 am
Hi

Our module connects to the Yahoo weather API and takes informations which can be found on this page. Means any words as rain, cloudy, etc will be shown in module as they were on Yahoo feed. During creation of Your KEY to the Yahoo resource You need to specify what language to use.
User avatar
Moderator

GK User
Wed May 03, 2017 10:08 am
Hi teitbite,

So it's not the .ini that steers the words? OK, but where can I set or even get such a KEY? I have module version 1.7.4, but I can't find any corresponding fields in the module.

Thanks!
User avatar
Junior Boarder

GK User
Fri May 05, 2017 7:50 am
Just FYI: I've switched to another weather module, so this query can be closed/ignored.

Many thanks!
User avatar
Junior Boarder

teitbite
Tue May 09, 2017 3:03 pm
Hi

Yes that's a way better option. We have dropped development for this extension some time ago, it still works, but some features may be outdated.

For translation, elements which are coming from a module can be translated in .ini file, but weather feed itself is taken from an API sheets which are delivered from Yahoo site, so it is using the language this feed was in.

For the feed API KEY it can be generated here: https://developer.yahoo.com/weather/
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.