Weather by You!

General Category => General Discussion => Topic started by: giosi on July 24, 2013, 12:02:58 PM

Title: Wrong monthly date presentation on Sunset template
Post by: giosi on July 24, 2013, 12:02:58 PM
Hi all.
I have just tried to upload Weather Sunset template.
I changed date presentation in these files into both side (cumulus and www site):
- wt_data_inc.php
- wt_month_inc.php
like this:
// Date formatted
$to = "il ";  // Ex: to 20 may
$pre_time ="alle ";  // Ex: at 10:45
$pre_date = " del ";  // Ex:  on 25 may
$only_date = "Il ";  // Ex: On 25 may

Although  wt_data_inc.php file works fine, wt_month_inc.php file no works and
strange behavior happened as the contents of the wt_month_inc.php file return to default.
You can to do a look at www.meteobitetto.it
Could you help me ?

Thanks a lot
Title: Re: Wrong monthly date presentation on Sunset template
Post by: Mr.Meteo on July 25, 2013, 08:06:06 AM
Hi Giosi,

I tinks you've probably only mixed filenames,
unprocessed file is wt_month_inc.php
processed file is wt_months_inc.php (check the "s")

Regards,
Jacques
Title: Re: Wrong monthly date presentation on Sunset template
Post by: giosi on July 31, 2013, 09:04:18 AM
Hi Jacques.
I did not understand.
What do you mean "processed file" ?
Maybe do you mean "remote filename" ?

Thanks
Title: Re: Wrong monthly date presentation on Sunset template
Post by: Mr.Meteo on August 01, 2013, 06:38:26 AM
Hi giosi,

Your right!
processed file = remote filename

Regards,
Jacques
Title: Re: Wrong monthly date presentation on Sunset template
Post by: giosi on August 02, 2013, 06:33:47 AM
Quote:
unprocessed file is wt_month_inc.php
processed file is wt_months_inc.php (check the "s")

Hi Jacques.
I am confused.
In your Sunset Template installation guide does not say this (rename monthS for remote file) but only for Eden Template !
What's the right Cumulus configuration files for Sunset Template ?