Well Dave, either you can move all the content of the page down a few lines, or you can create a header to add some more space above the top of the forecast.
Anyway, I’ve tried to implement a new page containing 3 in 1 scripts in Ken’s template, but here’s the result:
The contents of the meteogram have disappeared and the little forecast icons at the top of it as well! I’ve tried every possible workaround (paths, settings etc) but no fix…
Yes, all the files needed are there! I’ve tried everything that passed through my mind, with no success!
Here’s the web page code:
<?php
############################################################################
# A Project of TNET Services, Inc. and Saratoga-Weather.org (Canada/World-ML template set)
############################################################################
#
# Project: Sample Included Website Design
# Module: sample.php
# Purpose: Sample Page
# Authors: Kevin W. Reed <[email protected]>
# TNET Services, Inc.
#
# Copyright: (c) 1992-2007 Copyright TNET Services, Inc.
############################################################################
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
############################################################################
# This document uses Tab 4 Settings
############################################################################
require_once("Settings.php");
require_once("common.php");
############################################################################
$TITLE = langtransstr($SITE['organ']) . " - " .langtransstr('Sample Blank Page');
$showGizmo = true; // set to false to exclude the gizmo
include("top.php");
############################################################################
?>
<?php
include './wxsim_wxall/wxall.settings1.php';
echo $wxallhead;
?>
</head>
<body>
<?php
############################################################################
include("header.php");
############################################################################
include("menubar.php");
############################################################################
?>
<div id="main-copy">
<?php
# Header with name & update-times (optional)
echo $wxallupdated;
echo '<h3>'.get_lang("WXSIM Forecast for:").' '.$wxallcity.'</h3>';
# Theese can be used stand alone or together
echo $wxalltop; # "Top-forecast"
echo $wxallgraph; # Graph
echo $wxallmain; # Tabs
?>
<?php
echo $wxallfooter;
?>
</div><!-- end main-copy -->
<?php
############################################################################
include("footer.php");
############################################################################
# End of Page
############################################################################
?>
Probably, something in main-copy class conflicts with the 3in1 script… still investigating it!
Thanos - re your graph - have you tried the suggestion I had from Steve:-
'Set the Schedule in WXSIMATE to download data at 0 past the hour
Set the Schedule in WXSIM to AutoRun at 5 past the hour
Set the $uploadupdate parameter in wxall.settings.php to ‘00’