Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
weather block
  • Posted: 08.03.2003, 12:56
     
    garryp
    rank:
    Freshman Freshman
    registered:
     February 2003
    Status:
    offline
    last visit:
    16.04.03
    Posts:
    11
    I have tried 2 weather mod/blok found here. They invariably do not work correctly, causing errors as well as image filenames that do not exist. They are also ugly with oversized font.

    Q: Is there a weather block of recent vintage that actually works correctly with pn723?

    Q2: Is it too much to expect that weather pulled from another site will work reliably over time (subject to change at the source site)? If so, I will save some time and hair loss by abandoning the idea.

    Thanks in advance for any insight.
  • Posted: 09.03.2003, 00:02
     
    dberansky
    rank:
    Professional Professional
    registered:
     June 2002
    Status:
    offline
    last visit:
    01.04.03
    Posts:
    746
    I've been using the WeatherCenter on several sites (both .714 & .723) for close to 6 months now.
  • Posted: 09.03.2003, 04:03
     
    garryp
    rank:
    Freshman Freshman
    registered:
     February 2003
    Status:
    offline
    last visit:
    16.04.03
    Posts:
    11
    upon advice from a PN post i tried weathercenter. but when trying to load cities from the admin:weather panel i get the following error.

    any suggestions? Perhaps the previous version was not completely removed?

    Warning: Invalid argument supplied for foreach() in .../modules/weather/pnadminapi.php on line 101

    Warning: Cannot add header information - headers already sent by (output started at .../modules/weather/pnadminapi.php:101) in .../includes/pnAPI.php on line 1095
  • Posted: 15.03.2003, 03:06
     
    KeyserSoze
    rank:
    Freshman Freshman
    registered:
     March 2003
    Status:
    offline
    last visit:
    17.03.03
    Posts:
    2

    garryp

    I have tried 2 weather mod/blok found here. They invariably do not work correctly, causing errors as well as image filenames that do not exist. They are also ugly with oversized font.

    Q: Is there a weather block of recent vintage that actually works correctly with pn723?

    Q2: Is it too much to expect that weather pulled from another site will work reliably over time (subject to change at the source site)? If so, I will save some time and hair loss by abandoning the idea.

    Thanks in advance for any insight.


    garryp,

    I have been looking too...not sure if this is of interest to you but I have been trying to complete a block for my intranet using the weather.com HTML code. I want a block that asks for the zip and dumps the results in the PostNuke main area/window. I've made some progress but here is my latest question to the postwrap developer.

    Hope the below info helps you and maybe someone can assist me.
    Thanks,
    -Keyser...still learning...


    ---------------------------------------------------
    Hi,
    I'm trying to use postwrap to modify a HTML block I created in PostNuke. The block is a HTML weather block that works fine and creates a nice looking weather zip query block.

    Here is the code for the Core/html block:






    <form method="post" action="http://www.weather.com/cgi-bin/uncgi/zip_city_search.cgi?par=intern al&code=659931&site=logo&promo=english">



    <font face="Arial, Helvetica, Chicago, Sans Serif" color="#004371" size="2">
    Enter city or US Zip

    <input name="destination" type="text" size="8" value="" />

    <input type="image" src="http://image.weather.com/pics/button_go.gif" width="26" height="23" border="0" alt="go!" value="Go City" />
    </form>



    Just add the above code into a new Core/html block and your almost there.

    My question is when I enter the ZIP and hit go, can I modify the above script with Postwrap to have the delivered content show up in the PostNuke main area/window?
    Currently it leaves PN and goes to the weather.com page for the zip entered.
    Thanks,
    Keyser

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula