[dev] Two suggestions about the IMP summary

Jan Schneider jan at horde.org
Mon Sep 22 15:10:46 PDT 2003


Zitat von Etienne Goyer <etienne.goyer at linuxquebec.com>:

> On Mon, Sep 22, 2003 at 11:35:55PM +0200, Jan Schneider wrote:
> > The portal has always been build from Horde_Blocks so you could always
> add
> > your own blocks.
>
> Reading portal.php, line 67 :
>
> $block = $registry->callByPackage($item['app'], 'block',
> $item['params']);
>                                   ^^^^^^^^^^^^
> lead me to believe that block are a by-app thing.  Maybe I am just
> misreading the code. If not, how to create one ?  Do they have to be
> defined in some config file, or I just write the code in
> <app>/lib/Block/ and it will automagically appear ?

Not (yet) automagically. You have to add an "applet" entry to registry.php.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list