Rford
1
I’m in the process of updating my old graphs here https://www.turnerdownsweather.com/wxgraphs.php…I have the new graphs working here https://www.turnerdownsweather.com/wxgraphs/wxgraphs_test.htmlbut I need assistance calling the script into the Saratoga Template. I’m unsure of the code to use.
Any assistance would be appreciated…
Thanks
Ronnie
hello Ronnie…
see if this works…
just make a copy of your existing wxgraphs page/file ( wxgraphs.php)
and then rename it for testing purposes to wxgraphs2.php
Now open the file/wxgraphs2.php with text editor like notepad or notepad++
Open the copied file and scroll way down to the "MAIN COPY Section…where the first part of it looks like this:
Rainfall graphs
|
|
|
|
Now notice this first graph code image looks like this…
So the name and path to that very first one is graphs/rain_yesterday.php
So now open up your new page file with the new graphs ( https://www.turnerdownsweather.com/wxgraphs/wxgraphs_test.html ) and also go to its MAIN COPY section and find this code…
and Notice the very first graph code for yesterdays rain is this with the IMG SRC= as this…
so you want to edit this:
img src=“graphs/rain_yesterday.php”
to this:
img src=“rain_yesterday.php”
and then just continue editing all the img src= sections of the old php file with the new img src paths to each image for the newer graphs.
Hope this Helps…Chris
|