Album list and gallery titles?
-
I have a NextGen setup with a series of albums each containing a few galleries with pictures in them. I’m trying to create an
albums > galleries > thumbs
setup that updates dynamically. After some trial and error, I have it working nicely and dynamically with a single shortcode as follows:[ngg_images source="albums" container_ids="0" display_type="photocrati-nextgen_basic_extended_album" gallery_display_type="photocrati-nextgen_basic_thumbnails" display_type_view="default" open_gallery_in_lightbox="0" order_by="sortorder" order_direction="DESC" returns="included" maximum_entity_count="500"]
With that one shortcode I get:
- root page: a list of all galleries in all albums starting with the most recent
- album page (when manually entered into address bar): a list of galleries in that album
- gallery page: thumbnails of images in the gallery
… and don’t need to create separate pages for each album and gallery. In addition, it updates dynamically as new albums/galleries are added. That’s just what I wanted!
To my questions:
On 1) I’d love to be able to sort by album, then the galleries contained within, showing the (linked) album title between each set of listed galleries. Or alternatively just list the albums with their selected thumbs rather than the galleries they contain.
On 2) How can I get the title of the current album to display above the list of galleries it contains?
On 3) How can I get the title of the current gallery to display above the list of thumbnails?
As I have it now in 1) albums are more of a theoretical organisation tool because the template retrieves the galleries they contain but no details about the album themselves. The only way I have found is to enter each album title manually into the page body, and then to insert a separate corresponding shortcode for each album. However, that’s no longer dynamic …
For 2) Entering the album URL into the address bar shows this page correctly, but I haven’t found a way of linking to an album page. I’d like to link this from 1) and ideally also additionally via a list of albums in the sidebar (e.g. via a widget). Currently I’ve used a text widget for the sidebar and created this list manually but it will not auto-extend as new albums are created.
For 2) and 3) there’s therefore no way of knowing what page we are actually on without looking at the URL in the address bar, which isn’t visible on many devices (and some desktop browsers, too).
I’ve tried using the breadcrumbs but they don’t show. I think they’re not shown with this theme combination, right? Have I missed something in the settings? Or, do I need to organise my albums and galleries differently?
Could I add these via an own template? I’m relatively well-versed in code but not a programmer?
I’d be very grateful for any pointers. Many thanks!
- The topic ‘Album list and gallery titles?’ is closed to new replies.