Page 1 of 1

advforecast2.php Question

Posted: Sun 17 Dec 2017 10:03 pm
by acatalano
I'm finally getting around to updating to the latest version of advforecast2.php and have downloaded the php file and the 3 iconsetV2 and iconset update files.

Before proceeding with the update I have a sort of "belts and suspenders" question about the distribution of the updates into the website folders. The php file is obvious; it goes in the "root" directory.

This question refers to the icon sets. For V2 of the icons the instructions call for them to be uploaded to the "forcast/images" directory. However when I unzipped this file it created both a "forecast" and "ajax-images" directory in addition to a Dualimage.php file. If I take the instructions literally, this would mean that the resulting file structure would have a "forecast" and "ajax-images" WITHIN the "images" folder beneath the forecast folder.

My perception was that the intent was to update the contents of the forecast and ajax-images folders with the contents of the respective unzipped file, rather than a new nested structure being created.

Likewise, then where does the Dualimage.php file go..in root?

Sorry to be a dunce about this...i just want to be absolutely certain before proceeding. :bash: :bash:

Re: advforecast2.php Question

Posted: Mon 18 Dec 2017 5:30 am
by saratogaWX
Were you using the Template Update Tool to obtain your .zip file?

If so, the ajax-images directory goes in the document root (as it is in the .zip), the forecast/ directory also goes in the root (and will include a forecast/icon-templates/ and forecast/images/ updates. The DualImage.php does go in the document root.

Usually, the update .zip is placed in the document root, then unzipped from there -- that preserves the internal directory structure and results in updating all the parts in their correct places.

Re: advforecast2.php Question

Posted: Mon 18 Dec 2017 6:26 pm
by acatalano
Yes I used the update zip file, and what you say is just what I expected. I was thrown off by the mention of sending the icon files to the forecast/images directory. unzipping it there would duplicate the folder structure above, which doesn't seem right (and isn't) Just wanted to be absolutely certain. Many thanks for confirming what I know seems obvious.