JONAH_TEMPLATES
steve <[email protected]> Sun, 25 May 2003 11:26:16 +0200
| Newsgroups | gmane.comp.horde.jonah |
|---|---|
| Message-ID | <5.2.1.1.2.20030525112408.04286318@localhost> |
>To: [email protected] >Message-ID: <[email protected]> >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 -- Jonah mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]