Weather by You!
Templates and Projects support => Php templates => Topic started by: David9723 on February 02, 2015, 08:56:24 PM
-
keep getting this error
Warning: include(wt_months_inc.php): failed to open stream: No such file or directory in /home4/david97/public_html/weather/monthlyrecord.php on line 27
Warning: include(wt_months_inc.php): failed to open stream: No such file or directory in /home4/david97/public_html/weather/monthlyrecord.php on line 27
Warning: include(): Failed opening 'wt_months_inc.php' for inclusion (include_path='.:/opt/php54/lib/php') in /home4/david97/public_html/weather/monthlyrecord.php on line 27
also how do you change the updated times to the 12 hour clock? I would like all the times to be in the 12 hour clock format.
Thanks
-
Hi David,
Check in instructions on Template page for optional files
Remote filename should be wt_months_inc.php
For clock parameters, go to file clockp.js in js folder.
Regards,
Jacques
-
Needing to change more than just the clock looking to change the updated times to 12 hour clock
Image of settings
https://www.dropbox.com/s/mengi0vejg8c8kp/web.jpg?dl=0
-
Hi David,
your image show that you forgot the "S" in Remote filename
wt_monthS_inc.php
Regards,
Jacques
-
Thanks adding the S worked, i was going by the files names in the template. How can i change the updated times to the 12 hour clock and on the all time records page i get at 16h59 instead of 4:59 PM. clockp.js is only for the little clock i thought?
Also in the manage.php i have the last two file in yellow (wt_data_inc.php and wt_data_intl.php)
Thanks for your time :)
-
Hi David,
For your TMM, the yellow "info" icon is just a warning to tell you that
this file need to be in your Pc, not in the website!
For your times, they are coming from Cumulus, if you look at Cumulus screen
you'll see that times displayed are all in 24h format.
If you want, you could force your prefered time format, by specifying format="h':'nn"
for each and every Cumulus "webtags", but wt_data_inc.php file count more than 700 lines
and file wt_month_inc.php, more than 1200 lines!
Regards,
Jacques
-
I was just trying to echo the user input should errors occur during submission. How do I go about it?
-
Hi Clin,
Sorry, my English is bad, I don't understand what's your problem! :(
Regards,
Jacques