Re: Where is Weather??

Eric Rostetter <[email protected]> Tue, 14 Oct 2003 12:59:03 -0500
Newsgroups gmane.comp.horde.jonah
Message-ID <[email protected]>
Quoting Guil Barros <[email protected]>:

> i figure i need to do a number of things:
>  - change the jonah/prefs.php interface so as to ask for a zip code instead
> of
> the pulldowns when using $conf['weather']['driver'] == ejse. what do i need
> to
> include to be able to see $conf though?

Not sure what you mean, but maybe you just want a:

global $conf;

in there before you use it?

>  - change jonah/lib/weather.php to know that when we are using ejse it doesnt
> have to grab data from jonah/config/weather.php but just use the zip code.

Sounds like a pretty simple if/then/else kind of thing, no?  Once you have
access to $conf[] of course...

> thanks,
> -guil

Not sure if I was helpful, but...

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!

-- 
Jonah mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]