Author Topic: new index/wxindex.php with alt-dashboard  (Read 440 times)

0 Members and 1 Guest are viewing this topic.

Offline hcorrin

  • Contributor
  • ***
  • Posts: 128
    • Ballaugh Weather
new index/wxindex.php with alt-dashboard
« on: April 05, 2023, 05:29:27 PM »
i tried the new index.php on the alt dashboard
line 66
Code: [Select]
{ include_once($SITE['ajaxDashboard']);
changed to
 
Code: [Select]
{ include_once($SITE['ajaxDashboard6']);as required but it failed to show http://ballaugh.no-ip.biz:59202/WD-AJAX4/index.php this is a test page
the line in the old index was
Code: [Select]
{ include_once("jax-dashboard6.php");in the working versions

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: new index/wxindex.php with alt-dashboard
« Reply #1 on: April 05, 2023, 07:26:49 PM »
Ummm... the line 66 should read
Code: [Select]
{ include_once($SITE['ajaxDashboard']);
To use the alternative dashboard, you change Settings-weather.php (for WD or WeeWX)
Code: [Select]
$SITE['ajaxDashboard'] = './ajax-dashboard.php';
to
Code: [Select]
$SITE['ajaxDashboard'] = './ajax-dashboard6.php';
and all will work as planned.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline hcorrin

  • Contributor
  • ***
  • Posts: 128
    • Ballaugh Weather
Re: new index/wxindex.php with alt-dashboard
« Reply #2 on: April 06, 2023, 05:30:03 PM »
sorted thanks

 

anything