in reply to horde login

Eelco Brölman eelco@brolman.nl
Tue, 8 Jan 2002 01:09:00 +0100


Hi all,

I'm sorry to quote like this, but I'm just new on the list. It's about
the following subject:

On Mon, 7 Jan 2002, Aaron Solochek wrote:

> > I'm using imp (3.0) login for the horde login.  My current setup
> > doesn't 
> > use the horde page at all, but now I want to add turba into the mix. 
> > There are two ways I can see doing this and maintaining the sort of 
> > interface I like, but I'm not sure if either are possible.
> > > The preferred method would simply be having turba "integrated"
> > > into imp. 
> > Ideally, an addressbook icon in the top icon bar.
> 
> 
> imp/config/conf.php:
> $conf['menu']['apps'] = array('turba');

I had the same problem, I thougt I found the answer by setting the
initial_page value in the registry of horde (
$this->applications['horde']['initial_page']) to 'imp/login.php', but
that didn't work. At least not for the default page. The link in the
menu for horde is fine.

The problem is that the frameset does not use the initial_page value. 
Replacing the frameset in templates/index/frames_index.inc by:

<frameset rows="*,55" border="0">
    <frame name="horde_main" src="<?php Horde::purl($registry->applications['horde']['webroot'] . '/' .  (isset($registry->applications['horde']['initial_page']) ?  $registry->applications['horde']['initial_page'] : '')) ?>" scrolling="<?= $scrollbar ?>" noresize="noresize" frameborder="0" />
    <frame name="horde_menu" src="<?php Horde::purl('menu.php') ?>" scrolling="no" marginheight="0" marginwidth="0" noresize="noresize" frameborder="0" />
</frameset>

does the trick.

Grtz, Eelco





>From oarmas@mpsnet.net.mx Date: 07 Jan 2002 18:41:31 -0600
Return-Path: <oarmas@mpsnet.net.mx>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 82771 invoked from network); 8 Jan 2002 00:11:22 -0000
Received: from kaos.mpsnet.net.mx (200.39.190.253)
  by clark.horde.org with SMTP; 8 Jan 2002 00:11:22 -0000
Received: (from oarmas@localhost)
	by kaos.mpsnet.net.mx (8.11.6/8.11.6) id g080fVR09212;
	Mon, 7 Jan 2002 18:41:31 -0600
X-Authentication-Warning: kaos.mpsnet.net.mx: oarmas set sender to oarmas@mpsnet.net.mx using -f
From: Omar Armas <oarmas@mpsnet.net.mx>
To: imp@lists.horde.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 07 Jan 2002 18:41:31 -0600
Message-Id: <1010450491.5421.12.camel@kaos.mpsnet.net.mx>
Mime-Version: 1.0
Subject: Undefined index

I installed IMP and Horde rpm's, in RH 7.2 with horde's php. Horde works
well, or at least so says test.php. But the problem is that when I open
IMP(/horde/imp/) I get:

Warning: Undefined index: imp in /var/www/html/horde/lib/Registry.php on
line 626

Warning: Cannot add header information - headers already sent by (output
started at /var/www/html/horde/lib/Registry.php:626) in
/var/www/html/horde/imp/lib/base.php on line 65




I configured the database in horde and IMAP in IMP.
What can be the problem?

Omar