Difference between revisions of "Gallery3:Modules:treeview" - Gallery Codex
Personal tools

Difference between revisions of "Gallery3:Modules:treeview"

From Gallery Codex

 
Line 3: Line 3:
 
|link=http://galleryproject.org/node/112461
 
|link=http://galleryproject.org/node/112461
 
|description=Via Gallery forums
 
|description=Via Gallery forums
|version=3}}
+
|version=4}}
  
 
[[Category:Gallery 3:Modules|treeview]]
 
[[Category:Gallery 3:Modules|treeview]]
  
 
== Tree View Module ==
 
== Tree View Module ==
Provides a page with links to all albums in the gallery.
+
Provides a page with links to all albums in the gallery and optional to several pages provided by other modules.
  
 
== Description ==
 
== Description ==
Line 14: Line 14:
 
On hovering the mouse pointer over a link the album thumbnail and description is displayed.
 
On hovering the mouse pointer over a link the album thumbnail and description is displayed.
  
 +
If the [[Gallery3:Modules:dynamic|Dynamic]] module is installed, links to 'Recent changes' and 'Most viewed' dynamic Albums can be listed.
 +
A link to the Tag Cloud Page provided by the [[Gallery3:Modules:tag_cloud_page|Tag Cloud Page]] Module, can also be displayed.
 
If the [[Gallery3:Modules:Pages|Pages]] module is installed the static pages also can be listed.
 
If the [[Gallery3:Modules:Pages|Pages]] module is installed the static pages also can be listed.
  
Line 23: Line 25:
 
:* CSS Tree - open sub albums on pointing the mouse over a "+" icon.
 
:* CSS Tree - open sub albums on pointing the mouse over a "+" icon.
 
:* DTree - open sub albums on clicking the "+" icon.
 
:* DTree - open sub albums on clicking the "+" icon.
* Possible to show static pages, this requires the '''Pages''' Module.
+
* Possible to show 'Recent changes' and 'Most viewed' dynamic albums, requires '''Dynamic''' Module.
 +
* Allows showing 'Tag Cloud Page', this requires the '''Tag Cloud Page''' Module.
 +
* Possible to show static pages, requires the '''Pages''' Module.
 
:* Provides preview also for static pages.
 
:* Provides preview also for static pages.
 
* Fully translatable via the Gallery 3 translation option.
 
* Fully translatable via the Gallery 3 translation option.
Line 56: Line 60:
 
* Hide menu link to "Tree View".
 
* Hide menu link to "Tree View".
 
* Display details (thumbnail, description) in "Tree View".
 
* Display details (thumbnail, description) in "Tree View".
* Display pages, provided by the "pages" module.
+
 
 +
* Module Integration:
 +
:* Display albums, provided by the "dynamic" module.
 +
:* Display Tag Coud, provided by the "Tag Cloud Page" module.
 +
:* Display pages, provided by the "pages" module.
  
 
* DTree Settings:
 
* DTree Settings:
Line 70: Line 78:
  
 
== Version History ==
 
== Version History ==
 +
* '''v4''' (2014-05-29)
 +
::Support for '''dynamic''' Module
 +
::Support for '''tag_cloud_page''' Module
 
* '''v3''' (2014-03-07)
 
* '''v3''' (2014-03-07)
 
:* Settings for DTree:
 
:* Settings for DTree:

Latest revision as of 06:19, 29 May 2014

Tree View Module

Provides a page with links to all albums in the gallery and optional to several pages provided by other modules.

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 Dynamic module is installed, links to 'Recent changes' and 'Most viewed' dynamic Albums can be listed. A link to the Tag Cloud Page provided by the Tag Cloud Page Module, can also be 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 'Recent changes' and 'Most viewed' dynamic albums, requires Dynamic Module.
  • Allows showing 'Tag Cloud Page', this requires the Tag Cloud Page Module.
  • Possible to show static pages, 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 (thumbnail, description) in "Tree View".
  • Module Integration:
  • Display albums, provided by the "dynamic" module.
  • Display Tag Coud, provided by the "Tag Cloud Page" module.
  • Display pages, provided by the "pages" module.
  • DTree Settings:
  • Open subalbums on mouseover '+'.
Albums can be opened/closed by just placing the mouse pointer over the '+'/'-'.
  • Close other albums in in the same level.
If you open an album, all other ones in the same level will be closed.

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

  • v4 (2014-05-29)
Support for dynamic Module
Support for tag_cloud_page Module
  • v3 (2014-03-07)
  • Settings for DTree:
Albums open/close by just placing mouse pointer over '+'.
Open only one album in the same level.
  • 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.