Breadcrumbs, title and file name - can we have reference to a file name?

Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2012-08-26 05:47

With new breadcrumb model now information about item is very limited
before I could determine if title and file name is the same because I have had access to item itself. Now this information is missing as $breadcrumb is actually artificial representation of the item with minimum of the data present

is it possible to keep either reference to the item itself there or include $item->name there where applicable?

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Sun, 2012-08-26 17:32

A bit out of my league here, but are you saying that you can't get the item's title and file name? I'm assuming that I'm misunderstanding.

 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Mon, 2012-08-27 01:06

Can I provide a bit of background? I have a test site running Greydragon 4 beta and Gallery 3.0.4. The most recent version of Gallery has code for more consistent navigation of images with a given tag. However I am having still two problems when navigating tags. Serge's questions relate to these problems.

1. If I am browsing the resize images for a tag, and click on a resize image to start Shadowbox, then Shadowbox traverses the album that the image I clicked on is contained in, rather than the images with the tag.

2. If I am browsing the resize images for a tag, the paginator numbers 1 2 3 .... refer to the album of the current resize rather than the tag.

I can PM URLs demonstrating this to any developer who wants to work on this, but I'd prefer not to post URLs to my test site here.

U-G

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2012-08-28 17:37
tempg wrote:
A bit out of my league here, but are you saying that you can't get the item's title and file name? I'm assuming that I'm misunderstanding.

$breadcrumb item does not have reference to original item (at least I do not see it in the model) and therefore beside properties which are populated specifically, other item's information is lost

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2012-08-28 17:41

@undagiga: Thank you. To others, details provided are more appropriate in this thread http://gallery.menalto.com/node/108265 as they describe different problem where I am asking for extended logic of tag navigation

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter