Some functionality and tweaking questions

Scott Singleton scott@beacon-inc.com
Fri, 2 Nov 2001 09:51:45 -0500


Guys, I'm fairly new at PHP and working with the Horde Template.  My primary
job is as a windows based programmer in ASP, Java, VB, VC and FoxPro so I
have limited experience working with linux platforms.

I've setup a dev version of the complete horde application suite and want to
know if this board is where I can ask questions about the horde framework
and coding standards?  

Also, if I make these changes they'll be overwritten the next time I do a
CVS read right?


Here are some things I'm working on.

1. When in imp, display the current profile full name somewhere on the
screen so we can tell what user is online.  IE something like:  INBOX
[refresh icon] [Filter icon] For: [User Fullname] 

There's nowhere on the IMP screen that displays what account is currently in
use at all.

2. Display the 'logout' icon in All horde applications, not just imp.  IE,
when a user uses the application menu to move from imp to say nag, the
logout option disapears.

3. The ability to create a turba record (if turba's installed) from within
Imp. IE, display some sort of 'add as contact' button when reviewing
someone's email.

4. The ability to use turba to lookup records when composing emails.

-Scott


>From max@lsit.ucsb.edu Date: Fri,  2 Nov 2001 07:20:11 -0800
Return-Path: <max@lsit.ucsb.edu>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 90834 invoked from network); 2 Nov 2001 15:20:11 -0000
Received: from stan.lsit.ucsb.edu (128.111.222.4)
  by clark.horde.org with SMTP; 2 Nov 2001 15:20:11 -0000
Received: (from http@localhost)
	by stan.lsit.ucsb.edu (8.11.6/8.11.6) id fA2FKBZ16222
	for dev@lists.horde.org; Fri, 2 Nov 2001 07:20:11 -0800
Received: from 65.5.157.45 ( [65.5.157.45])
	as user max@mail.lsit.ucsb.edu by mail.lsit.ucsb.edu with HTTP;
	Fri,  2 Nov 2001 07:20:11 -0800
Message-ID: <1004714411.3be2b9ab186e4@mail.lsit.ucsb.edu>
Date: Fri,  2 Nov 2001 07:20:11 -0800
From: Max Kalika <max@lsit.ucsb.edu>
To: dev@lists.horde.org
References: <87CA342C2861B246B6FBC9B24412C75C617B@bcs-nt40.beacon-inc.com>
In-Reply-To: <87CA342C2861B246B6FBC9B24412C75C617B@bcs-nt40.beacon-inc.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 65.5.157.45
Subject: Re: [dev] Some functionality and tweaking questions

Quoting Scott Singleton <scott@beacon-inc.com>:

> I've setup a dev version of the complete horde application suite and want
> to know if this board is where I can ask questions about the horde framework
> and coding standards?  

absolutely! :-)

> Also, if I make these changes they'll be overwritten the next time I do a
> CVS read right?

nope, cvs is smart.  You might run into problems if you modify the same lines 
as developers and then you'll get a conflic on murge, but it's fixable.

> 1. When in imp, display the current profile full name somewhere on the
> screen so we can tell what user is online.  IE something like:  INBOX
> [refresh icon] [Filter icon] For: [User Fullname] 

perhaps.  Jan, Identities are your department, right? :-)

> 2. Display the 'logout' icon in All horde applications, not just imp.  IE,
> when a user uses the application menu to move from imp to say nag, the
> logout option disapears.

this should be possible.  I'll look today if no one gets to it.

> 3. The ability to create a turba record (if turba's installed) from within
> Imp. IE, display some sort of 'add as contact' button when reviewing
> someone's email.

this already exists.  the user needs to go to the Addressbooks prefs and choose 
which addressbook to use when adding addresses.  When this is done, he or she 
will see a little book icon by the email address in the message view which, 
when clicked on, will add the contact into turba.

> 4. The ability to use turba to lookup records when composing emails.

this too already exists and is set up the same way as above.  the user needs to 
choose which addressbook to search.  once set, there will be an "expand names" 
link on the compose screen.

Alternatively, if you have only one turba source, you can provide defaults in 
your config/prefs.php for both of those settings so the user doesn't have to 
set it.  To do that set the default value of 'search_sources' and 'add_source' 
prefs to something like this:

// addressbook(s) to use when expanding addresses
$_prefs['search_sources'] = array(
    'value' => 'SourceName',                // The name of the turba source
    'locked' => false,
    'shared' => false,
    'type' => 'implicit'
);

// addressbook to use for adding adresseses
$_prefs['add_source'] = array(
    'value' => 'SourceName',                // The name of the turba source
    'locked' => false,
    'shared' => false,
    'type' => 'implicit'
);

-- 
---max kalika
--max@lsit.ucsb.edu
-lsit systems administrator