[dev] weatherdotcom portal block issues

Rick Emery rick at emery.homelinux.net
Wed Feb 4 07:13:32 PST 2004


Quoting Joe Jenkins <joe at nerdnet.com>:

> A couple of things with this block that might be of interest:
>
> In order for it to show up in the Portal Editor, you need to have it defined
> in the registry.php file under the horde config:
>
> --- registry.php.dist   Mon Feb  2 15:09:48 2004
> +++ registry.php.dist_  Mon Feb  2 15:10:05 2004
> @@ -593,3 +593,7 @@
> $this->applets['metar'] = array(
>     'name' => _("Metar Weather"),
> );
> +
> +$this->applets['weatherdotcom'] = array(
> +    'name' => _("Weather"),
> +);

You're right; it looks like the patch didn't get applied. I'll resubmit it.

> Also, I set the block up and am getting the following fatal error:
>    Fatal error: Call to undefined function: getunitsformat() in
> /horde/lib/Block/weatherdotcom.php on line 104

What version of the Services_Weather package do you have installed? I think
this was added to version 1.2.0 in favor of the older method.

hth,
Rick

--
Rick Emery

"When once you have tasted flight, you will forever walk the Earth
 with your eyes turned skyward, for there you have been, and there
 you will always long to return"
                                              -- Leonardo Da Vinci



More information about the dev mailing list