A page in your DokuWiki was added or changed. Here are the details:
Date : 2016/11/24 18:05
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101
Firefox/50.0
IP-Address : 90.65.162.178
Hostname : LFbn-1-1546-178.w90-65.abo.wanadoo.fr
Old Revision: ---
New Revision:
http://ltb-project.org/wiki/documentation/white-pages/latest/config_quick_search
Edit Summary: created
User : coudot
====== Quick search ======
<note>Configuration file: ''white-pages/conf/config.inc.php''</note>
The quick search feature allows to search on multiple attributes (attribute1 or
attribute2 or ...) with a substring match (attribute=*query*). The quick search
input is located in menu bar.
===== Activation =====
Enable or disable this feature:
<file php>
$use_quick_search = true;
</file>
===== Search filter =====
Define on which LDAP attributes the search will be done:
<file php>
$quick_search_attributes = array('uid', 'cn', 'mail');
</file>
<note>With this example, the search filter for query ''test'' will be
''(|(uid=*test*)(cn=*test*)(mail=*test*))''</note>
===== Display results =====
List which items are shown in result box:
<file php>
$search_result_items = array('mail', 'phone', 'mobile');
</file>
<note>The items identifiers are those defined in
[[.:config_attributes|attributes map]]</note>
Set which item is used as result box title:
<file php>
$search_result_title = "fullname";
</file>
Set on which item results are sorted:
<file php>
$search_result_sortby = "lastname";
</file>
Display or not undefined values:
<file php>
$search_result_show_undefined = true;
</file>
Define [[http://getbootstrap.com/css/#grid|bootstrap]] column class:
<file php>
$search_result_bootstrap_column_class = "col-md-4";
</file>
Truncate values to fit in result box:
<file php>
$search_result_truncate_value_after = "20";
</file>
--
This mail was generated by DokuWiki at
http://ltb-project.org/wiki/
_______________________________________________
ltb-changes mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-changes