New ticket submitted by Dev Spirea at 2013/11/08 10:36
> Tracking System: Feature Requests
> Category: Infolog
> Version: Trunk
> Status: Open
> Resolution: None
> Priority: 5 - medium
> Created by: Dev Spirea
> Created on: 2013/11/08 10:36
> Assigned to: Ralf Becker
> Cc: egw-dev@...
> Summary: #3261 - Open a felamimail compose screen with the infolog details
> : Hello,
This is a piece of code to add a new feature : open a felamimail compose screen from and infolog with the contacts, the subject and content coming from the infolog.
The patch adds arguments to felamimail.uicompose.compose and retrieves the data from the infolog using what is a new hook "class.infolog_hook_mail.inc.php".
The two arguments are the application name and the id. It could be used for other applications (tracker, calendar, etc.). In the application inc directory, there should be a new class.[appname]_hook_mail.inc.php
The function should be called from a button in the index view or from the action menu of an edit view.
This is coded to work on the 1.8 ; yet it would be nice to have this implemented on the trunk...
One option for this would be to allow the groups (code is commented out).