Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Please sign in or apply for membership to remove the ads
    • CommentAuthorkanjigirl
    • CommentTimeMar 18th 2008
     
    On my site, I want to only show the Album and/or Album > Picture portions of the breadcrumbs - visitors will go directly to an album from a hard-coded link and will not see the Collections or Collection pages.

    I'm guessing that I adjust this in plog-functions.php, but I'm not sure what to do... Can someone help?

    Debbie
    •  
      CommentAuthorsidtheduck
    • CommentTimeMar 18th 2008 edited
     
    This is in the 'plog-functions.php' file, first function 'generate_breadcrumb'. Edit your code to match below:

    case 'album':
    Find:

    if ($GLOBALS['plogger_mode'] == "slideshow") {
    $breadcrumbs = ' <a href="'.$config["baseurl"].'">' . plog_tr('Collections') . '</a> &raquo; ' . $collection_link . ' &raquo; ' . '<a href="'.$album_link.'">'.$album_name.'</a> &raquo; ' . ' <b>' . plog_tr('Slideshow') . '</b>';
    } else {
    $breadcrumbs = ' <a href="'.$config["baseurl"].'">' . plog_tr('Collections') . '</a> &raquo; ' . $collection_link . ' &raquo; ' . '<b>'.$album_name.'</b>';
    }

    Change To:

    if ($GLOBALS['plogger_mode'] == "slideshow") {
    $breadcrumbs = '<a href="'.$album_link.'">'.$album_name.'</a> &raquo; ' . ' <b>' . plog_tr('Slideshow') . '</b>';
    } else {
    $breadcrumbs = '<b>'.$album_name.'</b>';
    }



    case 'picture':
    Find:

    $breadcrumbs = $collection_link . ' &raquo; ' . $album_link . ' &raquo; ' . '<span id="image_name"><b>' . $picture_name.'</b></span>';

    if ($GLOBALS['plogger_mode'] == "slideshow") $breadcrumbs .= ' &raquo; ' . plog_tr('Slideshow');

    Change To:

    $breadcrumbs = $album_link . ' &raquo; ' . '<span id="image_name"><b>' . $picture_name.'</b></span>';

    if ($GLOBALS['plogger_mode'] == "slideshow") $breadcrumbs .= ' &raquo; ' . plog_tr('Slideshow');


    That should work for you.
    • CommentAuthorkanjigirl
    • CommentTimeMar 20th 2008
     
    Perfect, thank you so much for your help!