[horde] How to show only some options?
Alexa Rodriguez
avrodriguez at jusbaires.gov.ar
Tue Nov 4 21:11:14 UTC 2008
Hi all!
I need to show the users of my "Horde" only some the options, to
achieve this I tried to comments some lines of code in the files
"*/config/prefs.php" to show only "some" options, but when the users
set up their options they are not saved.
The point is, how I could to modify/to configure Horde to show only
some options?
Here an example, a part of "kronolith/config/prefs.php":
<?php
/**
* $Horde: kronolith/config/prefs.php.dist,v 1.99 2008-07-16 20:32:47
mrubinsk Exp $
*
* See horde/config/prefs.php for documentation on the structure of this file.
*/
/*Comment for administrator
$prefGroups['view'] = array(
'column' => _("Display Options"),
'label' => _("User Interface"),
'desc' => _("Select confirmation options, how to display the
different views and choose default view."),
'members' => array('confirm_delete', 'defaultview',
'time_between_days', 'week_start_monday',
'day_hour_start', 'day_hour_end', 'day_hour_force',
'slots_per_hour', 'show_icons', 'show_time',
'show_location',
'show_legend', 'show_panel', 'show_fb_legend',
'show_shared_side_by_side', 'show_external_colors'),
);
$prefGroups['summary'] = array(
'column' => _("Display Options"),
'label' => _("Portal Options"),
'desc' => _("Select which events to show in the portal."),
'members' => array('summary_days', 'summary_alarms'),
);
End of comment*/
$prefGroups['share'] = array(
'column' => _("Calendars"),
'label' => _("Default Calendar"),
'desc' => _("Choose your default calendar."),
'members' => array('shareselect'),
);
if (!empty($GLOBALS['conf']['holidays']['enable'])) {
$prefGroups['holidays'] = array(
'column' => _("Calendars"),
'label' => _("Holidays"),
'desc' => _("Choose which holidays to display"),
'members' => array('holiday_drivers'),
);
}
$prefGroups['event_options'] = array(
'column' => _("Events"),
'label' => _("Event Defaults"),
'desc' => _("Set default values for new events."),
'members' => array('default_alarm_management'),
);
/*Comment for administrator
$prefGroups['maintenance'] = array(
'column' => _("Events"),
'label' => _("Maintenance"),
'desc' => _("Set options for deleting old events."),
'members' => array('purge_events', 'purge_events_interval',
'purge_events_keep')
);
End of comment*/
$prefGroups['notification'] = array(
'column' => _("Events"),
'label' => _("Notifications"),
'desc' => _("Choose how you want to be notified about event
changes, event alarms and upcoming events."),
'members' => array('event_notification',
'event_notification_exclude_self', 'daily_agenda', 'event_reminder'),
);
if (!empty($GLOBALS['conf']['alarms']['driver'])) {
$prefGroups['notification']['members'][] = 'event_alarms';
}
$prefGroups['freebusy'] = array(
'column' => _("Calendars"),
'label' => _("Free/Busy Information"),
'desc' => _("Set your Free/Busy calendars and your own and other
users' Free/Busy options."),
'members' => array('fb_cals_select', 'freebusy_days'),
);
/*Comment for administrator
if ($GLOBALS['registry']->hasMethod('contacts/sources')) {
$prefGroups['addressbooks'] = array(
'column' => _("Other Options"),
'label' => _("Address Books"),
'desc' => _("Select address book sources for adding and
searching for addresses."),
'members' => array('display_contact', 'sourceselect'),
);
}
End of comment*/
I have installed:
Apache/2.2.3
Php 5.2.0
Horde 4.0-cvs
kronolith H3 (3.0-cvs)
Thanks in advance for your help, Alexa
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the horde
mailing list