Generates different entry-points to your Gallery providing a view on a part of your Gallery.
This module assists in the creation of alternate guest views for a Gallery.
Multiroot allows you to create an alternate URL to view part of the Gallery. This configuration screen assists in setup and creation of a PHP file for the alternate URL. This module never activates and is not needed to use multiroot. There are two options:
This option defines a default album for this view and adjusts navigation links so that no parent albums above the default are shown. Both guests and logged in users accessing the alternate URL will see this effect. However, Gallery permissions are unchanged so modules like imageblock and search, or manually entered URLs, can lead visitors to items outside the default album. This option is easier to setup as it uses guest permissions already defined for your Gallery.
This option defines a new guest view with permissions defined for exactly what this view should display. Guests using the alternate URL cannot see any items outside those granted permission, by browsing or via any modules or URLs. Logged in users see whatever their permissions allow, whether accessing the normal or alternate URL. This option provides greater access control over the alternate view, but requires additional permissions setup.
You can manually tweak the settings of your new entry point with these settings in your generated .php file (these are all optional):
$gallery->setConfig('login', true); /* Specify whether to show a login link or not (defaults to true) */ $gallery->setConfig('defaultAlbumId', 7682); /* Specify the album ID of the root album for that view (defaults to the normal root) */ $gallery->setConfig('anonymousUserId', 11270); /* Specify the alternate guest user (defaults to the normal guest) */ $gallery->setConfig('breadcrumbRootId', 7682); /* Specify what the root album for your breadcrumbs (navigation) */