cloudy

Author Topic: Carterlake Plugin Page - Printable Weather Flyer  (Read 31322 times)

0 Members and 1 Guest are viewing this topic.

Offline SMills

  • Posts: 112
  • Nottingham, UK
    • Steve & Cheryl's Web Site
Re: I made a printable weather flyer page.
« Reply #15 on: February 07, 2009, 01:17:26 AM »
I'm a bit puzzled. My site is based on the Caterlake template like so many others. If I go to the Forecast menu item and hit print it looks just as good. So what's the problem here? I'm not trying to criticise - I'm trying to understand and learn something.  8O

Kind Regards
Steve
Kind Regards
Steve

Offline K3JAE

  • Posts: 691
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: I made a printable weather flyer page.
« Reply #16 on: February 07, 2009, 06:04:30 AM »
Might need to be a bit more specific on your issue. 

What exactly is not working properly?


73's de K3JAE

John
K3JAE Weather Station

Bashy

  • Guest
Re: I made a printable weather flyer page.
« Reply #17 on: February 07, 2009, 08:05:35 AM »
Hi made my own here http://www.northantsweather.com/wx21.html
When clicked from the top menu it opens to a specific size, ok its not the
best but it works :)

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #18 on: February 07, 2009, 08:44:45 PM »
OK, I just officially released this:

This version is all PHP and is easier to install and configure than the ones I sent out to a few who asked..

Carterlake Plugin Page - Printable Weather Flyer

Version: 1.00 - 07-Feb-2009

Download:         
www.642weather.com/weather/scripts/wxflyer.zip

Live Example:   
www.642weather.com/weather/local-flier.php

Look at the readme.txt inside the zip file for instructions.

Bashy

  • Guest
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #19 on: February 07, 2009, 09:01:27 PM »
Thanks a lot, I will take a look at it as it does look more professional than mine ;)

Thanks again Mike, will let you know tomorrow how it turns out :)

Offline BfdWx

  • Posts: 1,509
  • Branford Connecticut
    • Branford Weather
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #20 on: February 07, 2009, 10:32:17 PM »
Question;

The forecast discussion paragraph (nice feature) is printing subsequent lines with no initial capitilization; Can this be changed? Also can "this discussion continues at www.642weather.com " be made an href in the $reports from section? I can't figure out a proper syntax.

Thanks,

Jack

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #21 on: February 07, 2009, 11:45:04 PM »
Question;

The forecast discussion paragraph (nice feature) is printing subsequent lines with no initial capitilization; Can this be changed? Also can "this discussion continues at www.642weather.com " be made an href in the $reports from section? I can't figure out a proper syntax.

Thanks,

Jack

I was not able to make the url a href because it will not print well. The css has a feature to show full url's when printing and it just looks bad if you add the href.

Version: 1.01 - 07-Feb-2009 added feature to uppercase first word of every sentance on the forecast discussion text


Offline BfdWx

  • Posts: 1,509
  • Branford Connecticut
    • Branford Weather
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #22 on: February 08, 2009, 12:00:02 AM »
That worked, thanks Mike!

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #23 on: February 08, 2009, 12:21:42 AM »
I just updated the zip because I added this quick fix:
fixed missing echo for $yrecordlowtempmonth and $yrecordhightempmonth

Offline K3JAE

  • Posts: 691
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #24 on: February 08, 2009, 06:48:03 AM »
Cool. I see this growing into a new on=going project for you Mike. But it can only get better!


73's de K3JAE

John
K3JAE Weather Station

Offline andro700

  • Chuck
  • Posts: 3,209
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #25 on: February 08, 2009, 05:32:19 PM »
I am unable to get the following command to work

Code: [Select]
<b><?php $reports_from?></b>
Here is how I have it set.

Code: [Select]
// 'Reports from [station name] at [neighborhood]';
$reports_from = 'Reports from Chucks Weather Station at N Kendrick Ave., near Clay St.';

Any help would be great. Forgot to throw in the link.

http://www.chucksweather.com/wxflyer.php

Chuck
« Last Edit: February 08, 2009, 05:34:46 PM by andro700 »

Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #26 on: February 08, 2009, 06:32:29 PM »
You'll need to print or echo a PHP variable to get it to appear on the HTML page..

Use
Code: [Select]
<b><?php print $reports_from?></b> and it should work fine :)

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline andro700

  • Chuck
  • Posts: 3,209
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #27 on: February 08, 2009, 06:40:20 PM »
That did the trick. I should have noticed that. It was like that when I downloaded it without the echo variable. Maybe Mike needs to be aware if the fix. :wink:

Chuck

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #28 on: February 08, 2009, 08:42:20 PM »
Chuck I put the fix in the current download.  :)

Offline i_fiorentino

  • Posts: 1,350
  • 160 mls Carmignano (Po), Tuscany, Italy
    • Meteocarmignano.it
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #29 on: February 08, 2009, 08:53:33 PM »
Is there a similar script for Europe users?
I've installed the script but the results is: http://www.meteocarmignano.it/wxflyer.php
Thanks,

Alessandro