[jonah] JONAH_TEMPLATES

steve smailling at free.fr
Sun May 25 02:26:16 PDT 2003


>To: jonah at lists.horde.org
>Message-ID: <1053783331.81288ff61647e at marina.horde.org>
>Content-Type: text/plain; charset="ISO-8859-1"
>
>
> > So I don't know what the normal behavior whols be:
> > - every template files in the same directory
> > - change :jonah/lib/base.php :
> >
> > $registry->pushApp('jonah');
> > $conf = &$GLOBALS['conf'];
> > @define('JONAH_TEMPLATES', $registry->getParam('templates'));
> >
> > where we should have
> > @define('JONAH_TEMPLATES', JONAH_BASE.'/templates');
>
>That's incorrect; you can define a different template directory. What does
>the jonah array in horde/config/registry.php look like?

Here it is:
$this->applications['jonah'] = array(
     'fileroot' => dirname(__FILE__) . '/../jonah',
     'webroot' => $this->applications['horde']['webroot'] . '/jonah',
     'icon' => $this->applications['horde']['webroot'] . 
'/jonah/graphics/jonah.gif',
     'name' => _("Headlines"),
     'allow_guests' => false,
     'status' => 'active',
     'menu_parent' => 'info'
);

I think it is the basic settings 





More information about the jonah mailing list