6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3954] I can�t see the attendees and the description of a event
*
Your Email Address
*
Spam protection
Enter the letters below:
. ,.__ .___.__ . . \./ [__)[__ [__)|\/| | | [___| \| |
Comment
> Hello > > We have the same request from our users. Here is a proposal for > providing this feature. > > > > 1) In kronolith/lib/Driver/sql.php > > Create a new function for retrieving $attendees from the organizer event. > > > > function getOrgAttendees($eventUid) > > { > > $query = "SELECT event_attendees" . > > " FROM " . $this->_params['table'] . " WHERE event_uid = ?" . > > " AND event_attendees <> 'a:0:{}'"; > > $values = array($eventUid); > > > > $attendees = $this->_db->getRow($query, $values, DB_FETCHMODE_ASSOC); > > if (is_a($attendees, 'PEAR_Error')) { > > Horde::logMessage($attendees, __FILE__, __LINE__, PEAR_LOG_ERR); > > return $attendees; > > } > > return unserialize($attendees['event_attendees']); > > } > > > > > > 2) In kronolith/lib/Views/Event.php > > modify the html() function: > > $status = Kronolith::statusToString($this->event->getStatus()); > > $attendees = $this->event->getAttendees(); > > + if (empty($attendees) == true) > > + { > > + $orgAttendees = > $GLOBALS['kronolith_driver']->getOrgAttendees($this->event->getUID()); > > + } > > > > > > 3) kronolith/templates/view/view.inc > > Add some html code for displaying $orgAttendees. > > > > <?php if (!empty($orgAttendees)): ?> > > .. > > > > Thanks for your advise on this feature. > > Regars > > Patrick > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers