LDAP Tool Box White Pages Logo
latest

Contents:

  • Presentation
  • Installation
  • Apache configuration
  • General parameters
  • LDAP parameters
  • Attributes
  • Photos
  • Quick search
  • Advanced search
  • Entries display
  • Full display
  • Directory menu
  • Gallery menu
    • Activation
    • Display
    • Filter
  • CSV export
  • vCard export
LDAP Tool Box White Pages
  • »
  • Gallery menu
  • Edit on GitHub

Gallery menu

The gallery feature list all photos with the user’s names.

The gallery is displayed in menu.

Activation

Enable or disable this feature :

$use_gallery = true;

Warning

You should not enable this feature on a large directory as all (or a lot of) entries are displayed.

Display

Set which item is used as footer title :

$gallery_title = "fullname";

Set on which item results are sorted :

$gallery_sortby = "lastname";

Define bootstrap column class :

$gallery_bootstrap_column_class = "col-xs-6 col-sm-4 col-md-3";

Truncate title to fit in box foot :

$gallery_truncate_title_after = "25";

Filter

Gallery page uses the default LDAP user filter. But you can override it, for example to display entries that have the jpegPhoto attribute :

$gallery_user_filter = "(&".$ldap_user_filter."(jpegPhoto=*))";
Previous Next

© Copyright 2021, LDAP Tool Box. Revision b54129ef.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds