Provides a block in the sidebar with quick links to all other albums. .
Add a block to the sidebar with links to other albums in the gallery. It can be configured to use a dropdown/select (default) or as a crude list.
This module may be downloaded from the Gallery-modules repository here. Click the appropriate zip file.
To install,
The module can be configured via Admin -> Settings -> Advanced
Configured as a dropdown selection list
Configured as unformatted list
Configured as a DHTML dynamic tree (like Gallery2:Modules:albumselect)
The root album is not select-able when using the select option (drop-down) so:
Edit gallery3/modules/albumtree/views/albumtree_block_select.html.php change
<select onchange="window.location=this.value">
to
<select onchange="window.location=this.value"> <option value=""><?= t("Choose a Destination...") ?></option>
If you want to remove the title of the block you can add:
#g-albumtree h2 { display: none; }
to the view.css file of the theme you are using or if your theme has a custom.css use it.
If you want to re-title the block you can use the language interface or you can edit the code manually:
Edit in albumtree/helpers/albumtree_block.php
$block->title = t("Album Tree");
About line 393 of the albumtree_block_dtree.html change
albumTree.config.useCookies = false;
to
albumTree.config.useCookies = true;