phpGroupWare - Support: sr #102113, Field accessability in Calendar
You are not allowed to post comments on this tracker with your current authentication level.
sr #102113: Field accessability in Calendar
Submitter: | None | ||
Submitted: | Sat 10 May 2003 12:32:25 AM UTC | ||
Category: | Feature Request | Priority: | 5 - Normal |
Severity: | 2 - Minor | Status: | None |
Privacy: | Public | Assigned to: | None |
Originator Email: | -email is unavailable- | Open/Closed: | Open |
Operating System: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2004-02-12 | powerstat | Assigned to | #2883 | None | |
2003-05-31 | #2883 | Assigned to | None | None |
Powered by Savane 3.13-d3ae.
Corresponding source code
I am working on a plugin for phpGroupware, and one of
the "features" is the ability to schedule appointments
with people stored in another database. The requirement
is that the title and the description fields are
pre-filled in, with the user being able to modify them.
Right now, the only way that I have been able to get
this functionality is by hacking the calendar source.
I have included the changes that I made, compared to
the version in CVS:
Index: inc/class.uicalendar.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/calendar/inc/class.uicalendar.inc.php,v
retrieving revision 1.66.2.56
diff -r1.66.2.56 class.uicalendar.inc.php
1132,1133c1132,1133
< $this->bo->set_title('');
< $this->bo->set_description('');
---
$this->bo->set_title(isset($GLOBALS['HTTP_GET_VARS']['title'])?$GLOBALS['HTTP_GET_VARS']['title']:"");
$this->bo->set_description(isset($GLOBALS['HTTP_GET_VARS']['descr'])?$GLOBALS['HTTP_GET_VARS']['descr']:"");