$standAlone = true; // true = use wugraphs.php (also you may need set $loadJQuery and $incTabsStyle to true)
$includeMode = false; // true = included by PHP include function (eg: include(‘wugraphs.php’); )
Well I couldn’t sleep last night, and getting this going kept me up till 2:00am. Now it is 6:00am and time for work :sleepy1: One question: How can I get rid of the bad wind spike data from my last station? :?
I have now tried including into my excisting page - the wug folder are located in a subfolder (www.silkeborg-vejret.dk/scripts/wug/)
I have changed all paths in wugraphs.php and WUG-settings.php to full paths - but its not working:
www.silkeborg-vejret.dk/wugrafer.php
Have this in WUG-settings.php:
$standAlone = false; // true = use wugraphs.php (also you may need set $loadJQuery and $incTabsStyle to true)
$includeMode = true; // true = included by PHP include function (eg: include('wugraphs.php'); )
Do you know if its possible to have the wug folder in a sub-folder? If yes - do you know which paths in which files needs to be modified?
[li] Some PHP functions do not work with website paths like “http://yourwebsite.com/dir/subdir/a.php”.
Full paths like “/home/web/public/WWW/dir/subdir/a.php” are no problem.[/li]
You may use iframe method. Just put to your page wugrafer.php
[li] Why not upload the scripts to the root directory?
In my manual is written:
“Copy directory” wxwugraphs “and file” wxwugraphs.php “the root of your website”
There are reasons why. :)[/li]
This is a difficult task and I am not able to resolve it now.
Can’t figure out why I keep getting header errors on all pages.
Set up for stand-alone but will be integrating into my own format.
I see others with same errors in this thread. http://vermilionweather.com/wugraphs.php
Bug report - When viewing monthly or yearly precipitation (inches), the amount is shifted by one decimal place. Instead of .95 inches it is displaying 9.5 inches.