Hello FOX,
I can tell you exactly what you need to do to get it working, and it is very simple…
first off, you do not need to change all your site pages to php. you only need to change your forecast page to php, and then also for the immediate/2 icon advanced forecast shown on the home/index page…you will also need to make your home/index page a php page too.
but to do this…lets take care of your forecast page Only first, and leave the home page for after this is finished and complete.
the simple directions are as follows:
step1) go into your WD/WEBFILES Folder, and open up your wxlocal2 using notepad. and change/erase all of this:
National Weather Service Forecast
%5dayforecastdayday1%
%5dayforecastday1%
%5dayforecastdayday2%
%5dayforecastday2%
%5dayforecastdayday3%
%5dayforecastday3%
%5dayforecastdayday4%
%5dayforecastday4%
%5dayforecastdayday5%
%5dayforecastday5%
%5dayforecastdayday6%
%5dayforecastday6%
%5dayforecastdayday7%
%5dayforecastday7%
NWS Forecast: %5dayforecasttimestamp%
Then in it’s place add this:
<?php
$doIncludeNWS = true;
include("advforecast2.php"); ?>
after you have completed this comes the tricky part…
you need to go into WD/Control panels/website configurations/FTP & Connections/webfiles upload times/…then click on the tab that says 'custom file upload/creation times, on bottom right side of window.
once you get inside there…click on setup page #2 tab …and then locate the wxlocal2.html…then click on “SET” (for the wxlocal2.html)…inside here click on the" show file create time", that you already have and click on 'Save" …then the one you need to change is when you click on the “show file Upload time”,…leave the time as the same as the create time, but in the top box, instead of it creating a wx2.html…in the white box type in wx2.php, click on save next to it, and then save at bottom and then it is all set.
now safe to exit out of those windows
one other thing you will need to do is open with notepad all your wxlocal’s and edit the left side bar Link to point to the new URL. Instead of the old wx2.html, your new will be wx2.php, so that when anyone or yourself clicks on the link to get to the forecast page from one of your other pages, they get directed to the correct place, and not your old wx2.html forecast page.
once you have done all this and it is confirmed working correctly…I will give you the simple steps for adding the php immediate/2 icon php forecast to your home page.
reply back when mission is accomplished
Chris