zenphoto forums » General Zenphoto Discussion

Dynamic Album Title

(4 posts)
  • Started 3 years ago by joe_dicastro
  • Latest reply from sbillard
  1. joe_dicastro

    Junior
    Joined: Apr '09
    Posts: 7

    Hey ya'll... if i missed this somewhere, then my very humble apologies, but I'm having an issue trying to print out the title of a dynamic album in my HTML <title> tag. This is the code that I have now:

    <title><?php echo getBareGalleryTitle(); ?> | <?php echo getBareAlbumTitle();?> | <?php echo getBareImageTitle();?></title>

    getBareAlbumTitle() is printing out the name of the album the image was uploaded to, NOT the name of the dynamic album. The breadcrumbs are working fine and they properly represent the dynamic album, but this does not.

    Sorry if this is basic, but I'm in the process of redoing the architecture of the site to be based more on dynamic albums than on standard albums and this one is throwing me for a loop.

    As always: thanks to the developers for a kick-ass system.

    j.

    Posted 3 years ago #
  2. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,824

    Should be returning the title of the "current" album. So, maybe we need a bit more details. What page (script) are you doing this on?

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  3. joe_dicastro

    Junior
    Joined: Apr '09
    Posts: 7

    I'm doing this on image.php, so maybe it's not possible to pull the dynamic album title directly from this page?

    Here's a link to an image page on the testing domain for the site:
    http://testing.arceye.net/photography/ST/uploads/WashingtonSq.jpg.php

    You can see that the bread crumb prints out "Street Photography: Street Portraits", but the HTML <title> has ArcEye Gallery | All Images | Washington Sq, where "All Images" corresponds to the actual album where this image is stored, not the dynamic album that the user followed.

    Posted 3 years ago #
  4. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,824

    Please give tonight's build a try. I think I have fixed it so that the dynamic album will be "current" on the album's image pages.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.