Author Topic: Weather Eden V1-2 infos.php  (Read 9833 times)

Offline dafuser

  • New member
  • *
  • Posts: 6
    • Weather from the shores of Lake Granbury
Weather Eden V1-2 infos.php
« on: November 28, 2014, 06:32:53 PM »
Hello,

I have installed the Weather Eden V1-2 templates and have a question about the info.php webpage.

It contains the the following:

This weather station is located at : (YOUR CITY) broadcasting on the Internet since 28 November 2014

I maintain this web site on a voluntary basis and the site provides online weather data for my local area Weather informations are updated every 5 minutes, and are available 24/7

The data provided on the site is collected by using the following weather station.

Where does this information come from. It doesn't appear in the infos.php template as far as I can see, but appears to be generated from some other file. I would like to correct a couple of minor spelling errors and insert the city of Granbury where it says (YOUR CITY).

My web site is located at http;//granburywx.net/Cumulus

It is not live 24X7 until I finish working on a few more pages, but can be viewed with old weather data.

Thanks Les


Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Eden V1-2 infos.php
« Reply #1 on: November 29, 2014, 07:29:06 AM »
Hi Les,

The (YOUR CITY) text is located in your infos.php page, at line #72:

<p><?php echo $Tr_intro1.' : (YOUR CITY) '.$Tr_intro2.' '.$recordsbegandate; ?></p>
... things are going good!  8)

Regards,
Jacques
Please, consider supporting this site 

Offline dafuser

  • New member
  • *
  • Posts: 6
    • Weather from the shores of Lake Granbury
Re: Weather Eden V1-2 infos.php
« Reply #2 on: November 29, 2014, 10:00:07 AM »
Thanks, I  did find the (YOUR CITY) text and changed it to Granbury. Where is the rest of the text in the paragraph:

This weather station is located at : (YOUR CITY) broadcasting on the Internet since 28 November 2014

I maintain this web site on a voluntary basis and the site provides online weather data for my local area Weather informations are updated every 5 minutes, and are available 24/7

Thanks Les

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Eden V1-2 infos.php
« Reply #3 on: November 30, 2014, 08:02:44 AM »
Hi Les,

These texts are template's translated sentences.
They are "injected" into page by variables $Tr_intro...

You could do it 2 different way:

- replace these variables by text into infos.php file
(your text is always the same, not translated)

- modify variable text in language file lang/text_standard_XX.php
(text is custom in your language, but "standard" in others)

Regards,
Jacques
Please, consider supporting this site 

Offline dafuser

  • New member
  • *
  • Posts: 6
    • Weather from the shores of Lake Granbury
Re: Weather Eden V1-2 infos.php
« Reply #4 on: December 02, 2014, 09:50:47 AM »
Hello Jacques,

Thanks for your help with my problems understanding how the weather eden templates work so I can fix the issues I'm having.

The remaining issue is with the multirecords.php.  When I select the Weather_Eden menu item "RECORDS" the page displays with weather dada going back to when I first installed the templates last month. Across the top of the multi records.php page I see the following errors:

Warning: include(wt_months_inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/g/r/a/granburywx/html/Cumulus/multirecords.php on line 26

Warning: include() [function.include]: Failed opening 'wt_months_inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/g/r/a/granburywx/html/Cumulus/multirecords.php on line 26

There is no wt_months_inc.php file in the download for the Weather_Eden templates. There is a wt_month_inc.php file and I process the file in Cumulus like this:

Local filename: C:|Cumulus\wt_month_inc.php  ----> Remote filename: /Cumulus/wt_inc.php

I process the multirecords_txt.php file like this:

Local filename: C:\Cumulus\multi records_txt.php  ----> Remote filename: /Cumulus/multi records_txt.php

Beside the error message across the top of the multi records.php webpage I see when the page opens, clicking on the other months results in a webpage for each month which contains no weather data. The Cumulus records only go back to November and that month should show several days of weather data, but it is empty.

How do I correct the error message I'm seeing when opening the multi records.php webpage, and will fixing this error create the missing data problems for the month of November?

Thanks Les


Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Eden V1-2 infos.php
« Reply #5 on: December 02, 2014, 07:01:44 PM »
Hi Les,

Month file need to be processed that way:
Local filename: C:\Cumulus\wt_month_inc.php  ----> Remote filename: wt_months_inc.php

Regards,
Jacques
Please, consider supporting this site 

Offline dafuser

  • New member
  • *
  • Posts: 6
    • Weather from the shores of Lake Granbury
Re: Weather Eden V1-2 infos.php
« Reply #6 on: December 02, 2014, 10:43:09 PM »
Thanks Jacques,

That took care of the issue. Thanks again.   :)