[dev] Block applets

Ben Chavet ben at chavet.net
Wed Jul 30 21:07:24 PDT 2003


Had I known there was a patch in the works for this, I wouldn't have submitted
my fortune block (I'm new to the list, so I just missed it).  This patch does a
much better job, though, nice work.  I've attached the diffs to
config/conf.php.dist to clean up after myself.

--Ben

Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Joe Wilson <joe.wilson at mindcandy.org>:
>
> > Here is the patch I promised last week that generalizes the Block portal
> > interface to allow the addition of new 'applets' without modifying the core
> > Horde code (e.g. lib/api.php).  Simply add a new entry to
> > $this->applets[{name}] in registry.php and place the code in
> > lib/Block/{name}.php.
>
> Committed, thanks! Please take a look at how my commit differed from your
> original submission; there were a bunch of minor CODING_STANDARDS issues,
> along
> with a few things that I cleaned up/did differently.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> They're just looking at a wall of meat.
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conf.php.dist.diff
Type: text/diff
Size: 468 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20030731/b94a7c96/conf.php.dist.bin


More information about the dev mailing list