zpMasonry breadcrumbs

gir,

I was wondering why you have a different breadcrumb trail on the image.php page when infinite scrolling is enabled / disabled.

For example, with scrolling off, breadcrumbs show what I prefer:

Gallery Index » Plants » Carnivorous Plants » Pitcherplants » Yellow Pitcherplants

With scrolling on, part of the breadcrumbs show the folder name rather than the album title:

Gallery Index » Plants » Carnivorous Plants » flora/carnivorous/pitcherplants » Yellow Pitcherplants

Currently code has

`

`
I was wondering if there was any harm in having following regardless of infinite scrolling setting:

`

<?php if ( ($zpmas_infscroll) && (in_context(ZP_SEARCH_LINKED)) ) $_zp_current_search->page = '1'; ?>
" title="<?php echo gettext("Gallery Index"); ?>"><?php echo gettext("Gallery Index"); ?> »
<?php printParentBreadcrumb('',' » ',' » ');
printAlbumBreadcrumb('',' » ');
?>
<?php printImageTitle(true); ?>

`
Thank you again for the great theme.

Comments

  • gjr Member
    Hmm... I shall fix that output on the next release. The reason you should not use the standard code is because if a user clicks and image on "page 2" from the infinite scroll, the breadcrumbs would take them back to page 2, which you do not want with infinite scroll as it would cut off the first page.
  • Ok I see what you mean. Thank you for the info.
Sign In or Register to comment.