[horde] Add block to layout
Jan Schneider
jan at horde.org
Mon May 2 09:36:56 PDT 2005
Zitat von Pablo Alsina <palsina at gmail.com>:
> I did a small module to send SMS messages (much much simplier and
> limited that the ongoing swoosh).
>
> I have it reachable on my Horde 3.0 sidebar (by registering it on the
> registry.php). Now I want to add it as a block to the default Layout,
> but I can make it available there.
>
> As I didn't find documentation, I poked around and found that I had to
> add a script to the /lib/Block dir. There is now a web2sms.php there,
> defining the block name, and extending the Horde_Block class, with a
> title and a contect method.
Did you define the block name with the global $block_name variable? Did
you logout after adding the block?
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list