Gallery3:Modules:treeview - Gallery Codex
Personal tools

Gallery3:Modules:treeview

From Gallery Codex

Revision as of 10:21, 2 March 2014 by Itzling (Talk | contribs)

Tree View Module

Provides a page with links to all albums in the gallery.

Description

Displays a page with links to all albums in the gallery in a tree-like list. On hovering the mouse pointer over a link the album thumbnail and description is displayed.

If the Pages module is installed the static pages also can be listed.

Features

  • List all albums in a separate page.
  • Display thumbnail and album-details on pointing the mouse over a link.
  • The albums page can be displayed as:
  • List - unsorted < UL > list.
  • CSS Tree - open sub albums on pointing the mouse over a "+" icon.
  • DTree - open sub albums on clicking the "+" icon.
  • Possible to show static pages, this requires the Pages Module.
  • Provides preview also for static pages.
  • Fully translatable via the Gallery 3 translation option.
  • Provides a menu link.
  • Offers a sidebar link.

Screenshots

Can be found in the Gallery forum here.

Installation

This module may be downloaded from the Gallery forums here.

To install, extract the "treeview" folder from the zip file into your Gallery 3 modules folder. Afterwards log into your Gallery web site as an administrator and activate the module in the Admin -> Modules menu.

Once activated the treeview page can be displayed via the menu or sidebar link.

Upgrade

For upgrading please follow this steps:

  • Log into your Gallery web site as an administrator, deactivate the Module in the Admin -> Modules menu.
  • Empty the directory gallery/modules/treeview on your web server.
  • Copy new files into the gallery/modules/treeview directory.
  • Activate the module in the Admin -> Modules menu.

Note: Not deactivating the module before upgrading in some cases causes troubles on upgrading the module.

Configuration

The module can be configured via Admin -> Settings -> Tree View.

Available Options

  • Menu Title.
  • Different list styles can be selected: Default List/CSS Tree/DTree.
  • Hide menu link to "Tree View".
  • Display details (thumnail, description) in "Tree View".
  • Display pages, provided by the "pages" module.

Customization

To let the list stile fit to your gallery theme you can edit the gallery3/modules/treeview/css/treeview.css file.

If you want to this disable the menu link an hide the sidebar link, you can place a link anywhere on your site to gallery3/index.php/treeview.

Version History

  • v2 (2014-03-02)
  • Different list styles can be selected: Default List/CSS Tree/DTree.
  • Preview will also be displayed for static pages (first 300 characters).
  • v1 (2013-12-27)
  • Initial Release.

Discussion

For discussion, bug reports, feature requests or comments to the module please visit the Gallery forums.