Weather by You!

Templates and Projects support => Php templates => Topic started by: genesis on September 27, 2013, 09:45:30 AM

Title: language setting default weather blues V2
Post by: genesis on September 27, 2013, 09:45:30 AM
hello,
I tried the search function, but did not find anything that relates Resco my little problem.
With Eden weather I was able to set the Italian language by default, but on weather blues V2 can not.
Is it possible?
What files should I change?
thanks
http://senigalliameteo.altervista.org/index.php
Title: Re: language setting default weather blues V2
Post by: Mr.Meteo on September 27, 2013, 05:19:39 PM
Hi Stephano,

For first, update your template via Template Manager Module (manage.php)
your index page show v1.1 and currently is v1.3. This will replace your page,
but you'll be able to check old page with its .BAK file created by TMM.

Edit all your page and search around line #19:
$lang = 'en'; // Default language

You simply have to replace 'en' with your language.

Hope this help!

Regards,
Jacques
Title: Re: language setting default weather blues V2
Post by: genesis on September 28, 2013, 09:18:08 AM
hello,
bak file? TMM?
I'm sorry but I'm not so experienced, however the file does not manage it because I never used to be problems,
if I'm going http://senigalliameteo.altervista.org/manage.php and by this result.

(http://i39.tinypic.com/34yntrs.jpg)

if I return to my home page the Language box becomes small,
(http://i42.tinypic.com/3150ubn.jpg)
I'm forced to replace the entire folder "include" to put things has placed
why not use ever.

Now I have found in the index file in line 18 $ lang = 'en', / / ​​Default language
thanks Jacques

ciao,
file bak? TMM?
mi dispiace ma non sono così esperto, comunque il file manage non lo mai utilizzato perché mi da problemi,
se vado http://senigalliameteo.altervista.org/manage.php ed entro ho questo risultato.
se ritorno alla mia pagina iniziale la casella lingua diventa piccola,
devo per forza sostituire tutta la cartella "include" per rimettere le cose ha posto
per questo non la utilizzo mai.

Ora ho trovato nel file index al rigo 18   $lang = 'it'; // Default language
grazie Jacques
Title: Re: language setting default weather blues V2
Post by: Mr.Meteo on October 17, 2013, 07:52:54 AM
Hi Stefano,
Quote
TMM?
TMM is the Template Manager Module (manage.php file)

Quote
bak file?
When you update a template file, the old one is renamed with .bak extension
(ie. old index.php file become index.bak). But .bak are not visible into your TMM.

I see that you succeed to select Italian as your default language!
Things are gooing real good!

Best regards,
Jacques