Commit Graph

28 Commits

Author SHA1 Message Date
Ralf Becker
eb290477dd "get the new url, email or phone cf's working" 2008-06-24 09:56:39 +00:00
Ralf Becker
03d9baf5c6 "fixed warning under php5.2.6" 2008-06-22 08:51:38 +00:00
Ralf Becker
e90a3d3a83 reworked etemplate to have static methods and use the new features of egw_db- & html-class 2008-03-09 14:41:22 +00:00
Ralf Becker
ced6adf23f reworked and generalised Klaus new custom field header feature, to use it in the addressbook too, easy to addapt for the other apps now, only requires the get_rows/search method to understand filter and order_by with cfs 2008-01-19 05:36:20 +00:00
Klaus Leithoff
e72c783fd4 pre_process_cf_header -> created by Ralf Becker!!!
function to display the customfields in a nextmatch table-header with the functionality of sorting and selecting
by customfields. Of cource you need to adapt the source of your get_rows or search functionality to do the
actual sorting and selecting. We try to do some additional documentation in codecorner
You can pass the allowed/wanted fields to the header by passing an array of the wanted fields to the widget
through the options parameter (see the eTemplate editor for fields/cells). This array is passed on through
$cell['size']. By now the array passed through is only working, if it is the only entry in the optionsparameter.
The allowed fields array assumes an numerical indexed array of (an) array(s) with ['name'] tag(s) set.
The name provided assumes a preceding #. (e.g.: $allowed_fields[x]['name']='#MyCustomField')
2007-12-13 15:36:44 +00:00
Ralf Becker
e13da61106 "fixed single field display of customfields, was creating an extra grid and array level in the result" 2007-12-07 07:52:14 +00:00
Klaus Leithoff
2a498cae0a Merge of Ralfs customfield commit, with the customfield changes for 1.4: to display only fields with values in listview and to have an info icon to
identify which customfield is displayed (onmouseover), a click on the icon of the customfield opens the description of that field as 
alertbox. Also added the possibility to set an textfield/textarea to readonly with the option readonly=readonly, so users may not be able to change 
values of e.g.: external keys
2007-11-27 15:03:54 +00:00
Ralf Becker
1258b12e91 "small improvment of the last commit:
- also lookup the custom fields from the app mentioned in the template, if there no cfs for the current app, eg. sitemgr contactform
- forward the needed attribute to the cf
- alignment (no spacing, padding) if there are no labels"
2007-11-26 17:35:29 +00:00
Ralf Becker
93457ceac4 "- new cf type \"custom fields without label\"
- ability to specify a single custom field (name = #fieldname)
- show  the cf's in the eTemplate editor too"
2007-11-22 20:08:58 +00:00
Ralf Becker
0cfe754826 new custom field types:
- button to execute javascript
- selectbox values can be read from a file
2007-09-13 12:43:58 +00:00
Ralf Becker
a0ff70602a fix for bug #1058: FATAL ERROR: class.customfields_widget.inc.php on line 168 2007-07-16 16:55:13 +00:00
Ralf Becker
2699258f07 fixed double displayed label 2007-07-12 07:53:21 +00:00
Ralf Becker
7e577e22c4 fixed not working type specific customfields in infolog 2007-07-12 07:30:20 +00:00
Ralf Becker
eadc1c7b38 fix for bug #658: Custom Fields - added user in list comes up as ID (number)
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:39:41 +00:00
Ralf Becker
c60811c353 missing date/time customfield type 2007-05-17 06:04:24 +00:00
Ralf Becker
c81097ab13 worked around stupid php5.2 empty haystack warnings 2007-04-29 14:26:28 +00:00
Ralf Becker
efb218c924 we can have multiple comma-separated types now 2006-11-23 13:52:56 +00:00
Ralf Becker
532264b3fa new customfield types to select entry of other apps, eg. a contact 2006-10-04 17:10:05 +00:00
Ralf Becker
eb02bbde24 fixed infolog customfields show regardless of type 2006-09-20 17:49:15 +00:00
Cornelius Weiß
69aa6abdec update docu to better run trough phpdocumentor 2006-04-20 17:12:30 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Cornelius Weiß
b57aaf28af allow NOT in customfield search of type select 2005-11-10 12:10:17 +00:00
Ralf Becker
f21f778800 small phpDoc updates 2005-11-10 05:15:06 +00:00
Ralf Becker
d871b17bc9 valign top and other minor stuff 2005-11-08 14:33:16 +00:00
Cornelius Weiß
0c82e07152 fixed bug reported by lutz falkenberg
killed warnig if no customfields are present
2005-11-04 12:11:50 +00:00
Cornelius Weiß
fba9f65ae3 add option "dosn't matter" to selectboxes in search-mode 2005-11-02 16:48:24 +00:00
Cornelius Weiß
202611ea0d clean up code
bugfix for type radio
2005-10-28 21:05:56 +00:00
Cornelius Weiß
2afcf77024 advanced custiomfield widget moved from infolog 2005-10-28 18:29:05 +00:00