[dev] weatherdotcom portal block issues

Joe Jenkins joe at nerdnet.com
Mon Feb 2 14:12:58 PST 2004


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"),
+);

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


Joe Jenkins
-------------- next part --------------
--- 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"),
+);


More information about the dev mailing list