Weather by You!
Templates and Projects support => Php templates => Topic started by: dafuser on November 06, 2014, 10:05:32 AM
-
Hello All,
I'm trying to get the Sunset template working and have got the majority of the template working the way I like. I have a few remaining issues that I can't seem to solve.
Where are the variables like $Tr_city $Tr_longitude Tr_latitude initially set? I have my latitude and longitude set in Cumulus 1.94 but the web pages don't shown the stations latitude and longitude, the name of my city and a few other things.
http://granburywx.net/Cumulus/index.php
-
Hi Daf,
All variables beginning with $Tr_ are translated titles,
they're coming from files into lang folder.
longitude / latitude info are coming from Cumulus station settings,
they're into wt_data_inc.php file, ex:
$latitude = "N 45° 52' 20"";
$longitude = "W 72° 53' 28"";
Regards,
Jacques
-
Hello Jacques,
I got the latitude and longitude on my web site displaying correctly now, thanks for your help.
I'm unable to get my webcam to display for some reason.
The wt_data_inc.php on the website shows values in the webcam variable:
$webcam = ":<a href="http://dafuser.dyndns.org:8080/-wvhttp-01-/GetOneShot">webcam</a>:";
This is the same URL I entered in the Cumulus Internet configuration screens, so it is making it into the wt_data_inc.php file on my website.
If I put the URL for my webcam in the Cumulus setup screen, my site the won't display. Instead, it shows the following error message:
Parse error: syntax error, unexpected T_STRING in /home/content/g/r/a/granburywx/html/Cumulus/wt_data_inc.php on line 595
It will go away as soon as I remove the webcam URL from Cumulus and update the website, but then my webcam can not be displayed.
Do you know how to correct this problem.
Thank You Les