|
hayskswx
|
 |
« on: May 12, 2012, 12:49:04 PM » |
|
Can someone tell me where test.php is located? Thanks
|
|
|
|
|
Logged
|
|
|
|
|
saratogaWX
|
 |
« Reply #1 on: May 12, 2012, 01:34:28 PM » |
|
Ummm... It's not a page from the template sets. Where are you seeing the error (URL to page showing the missing 'test.php')?
|
|
|
|
|
Logged
|
Ken True/Saratoga, CA, USA main site: saratoga-weather.orgDavis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
|
|
|
|
|
|
saratogaWX
|
 |
« Reply #3 on: May 12, 2012, 01:45:51 PM » |
|
That page (stormreports.php) generates data that is to be included into a template page for display on your site. It doesn't include the full HTML to present as a standalone page. Try this: 1) make a copy of wxnewpage.php and call it wxstormreports.php 2) edit wxstormreports.php and in the main section replace <div id="main-copy"> <h1><?php langtrans('Sample Blank Page'); ?></h1> <p>This is a sample page</p>
<p>Copy it to a new name and use as the base for a new page on your site.</p> </div><!-- end main-copy -->
with <div id="main-copy"> <?php include("stormreports.php"); ?> </div><!-- end main-copy -->
and upload the wxstormreports.php page to your site. Then http://hayskansasweather.com/wxstormreports.php should show the complete page in your template, and you can add the new page link in your flyout-menu.xml Best regards, Ken
|
|
|
|
|
Logged
|
Ken True/Saratoga, CA, USA main site: saratoga-weather.orgDavis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
|
|
|
|
hayskswx
|
 |
« Reply #4 on: May 12, 2012, 01:54:34 PM » |
|
Sorry but where is wxnewpage.php located?
|
|
|
|
|
Logged
|
|
|
|
|
saratogaWX
|
 |
« Reply #5 on: May 12, 2012, 02:01:46 PM » |
|
It is with the other wx...php pages included with the template set.
|
|
|
|
|
Logged
|
Ken True/Saratoga, CA, USA main site: saratoga-weather.orgDavis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
|
|
|
|
hayskswx
|
 |
« Reply #6 on: May 12, 2012, 02:03:36 PM » |
|
Oh . Have no clue
|
|
|
|
|
Logged
|
|
|
|
|
saratogaWX
|
 |
« Reply #7 on: May 12, 2012, 02:14:24 PM » |
|
It should be in the offline copy of your website on the system you use to maintain your website. If it seems to be gone, then just download a copy of Base-USA.zip from my website, and get a fresh copy from the .zip file.
|
|
|
|
|
Logged
|
Ken True/Saratoga, CA, USA main site: saratoga-weather.orgDavis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
|
|
|
|
hayskswx
|
 |
« Reply #8 on: May 12, 2012, 02:18:04 PM » |
|
This one Ken?
Download One Base Template:
Updated
Canada Template .ZIP
04 May 2012 08:49pm PDT (05 May 2012 03:49 GMT)
USA Template .ZIP
04 May 2012 08:50pm PDT (05 May 2012 03:50 GMT)
World Template .ZIP
04 May 2012 08:50pm PDT (05 May 2012 03:50 GMT)
Download One WX software Plugin:
Updated
Cumulus .ZIP
31 Mar 2012 11:58am PDT (31 Mar 2012 18:58 GMT)
Meteohub .ZIP
28 Apr 2012 11:30am PDT (28 Apr 2012 18:30 GMT)
VWS .ZIP
24 Mar 2012 04:05pm PDT (24 Mar 2012 23:05 GMT)
Weather-Display .ZIP
18 Feb 2012 03:55pm PST (18 Feb 2012 23:55 GMT)
WeatherLink .ZIP
31 Mar 2012 11:58am PDT (31 Mar 2012 18:58 GMT)
WeatherCat .ZIP
25 Mar 2012 12:36pm PDT (25 Mar 2012 19:36 GMT)
WeatherSnoop .ZIP
14 Jan 2012 10:52am PST (14 Jan 2012 18:52 GMT)
[see Version History]
PS. Sorry I'm a PIA
|
|
|
|
|
Logged
|
|
|
|
|
saratogaWX
|
 |
« Reply #9 on: May 12, 2012, 02:20:02 PM » |
|
The Base-USA.zip (called "USA Template .ZIP" on the link) is the one that has the wxnewpage.php in it for USA folks.
|
|
|
|
|
Logged
|
Ken True/Saratoga, CA, USA main site: saratoga-weather.orgDavis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
|
|
|
|
hayskswx
|
 |
« Reply #10 on: May 12, 2012, 02:22:42 PM » |
|
found it
|
|
|
|
|
Logged
|
|
|
|
|
hayskswx
|
 |
« Reply #11 on: May 12, 2012, 02:27:50 PM » |
|
So where do I put the script at in wxnewpage.php?
|
|
|
|
|
Logged
|
|
|
|
|
hayskswx
|
 |
« Reply #12 on: May 12, 2012, 02:40:39 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
saratogaWX
|
 |
« Reply #13 on: May 12, 2012, 03:22:08 PM » |
|
Errors?
The page looks ok to me ...
|
|
|
|
|
Logged
|
Ken True/Saratoga, CA, USA main site: saratoga-weather.orgDavis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
|
|
|
|
hayskswx
|
 |
« Reply #14 on: May 12, 2012, 03:27:47 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
hayskswx
|
 |
« Reply #15 on: May 12, 2012, 03:28:31 PM » |
|
I customized the colors to match my page too.
|
|
|
|
|
Logged
|
|
|
|
|
hayskswx
|
 |
« Reply #16 on: May 12, 2012, 03:35:49 PM » |
|
When I put this Code:
<div id="main-copy"> <?php include("stormreports.php"); ?> </div><!-- end main-copy -->
It gave me an error so I just left it out and it works?
|
|
|
|
|
Logged
|
|
|
|
|
saratogaWX
|
 |
« Reply #17 on: May 12, 2012, 05:08:37 PM » |
|
In your wxstormreports.php page, did you replace the <div id="main-copy"> <h1><?php langtrans('Sample Blank Page'); ?></h1> <p>This is a sample page</p>
<p>Copy it to a new name and use as the base for a new page on your site.</p> </div><!-- end main-copy --> with <div id="main-copy"> <?php include("stormreports.php"); ?> </div><!-- end main-copy --> and not add any other instances of that to the page? What was the error you'd seen (exact message would be very helpful)?
|
|
|
|
|
Logged
|
Ken True/Saratoga, CA, USA main site: saratoga-weather.orgDavis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
|
|
|
|
hayskswx
|
 |
« Reply #18 on: May 12, 2012, 08:52:52 PM » |
|
So add the code and the script under main copy?
|
|
|
|
|
Logged
|
|
|
|
|
saratogaWX
|
 |
« Reply #19 on: May 12, 2012, 09:46:32 PM » |
|
No, just do the edit shown in the post above.
|
|
|
|
|
Logged
|
Ken True/Saratoga, CA, USA main site: saratoga-weather.orgDavis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
|
|
|
|
hayskswx
|
 |
« Reply #20 on: May 12, 2012, 11:54:19 PM » |
|
So do the edit above and load the script to my server?
|
|
|
|
|
Logged
|
|
|
|
|