Hi,
I've updated to ZenPhoto 1.4.2.1 and noticed that breadcrumbs look different from the third level of sub-albums. For instance when I have the following path, the characters in between sub-album names are the same:
Image Gallery | 2010 | June
But once I reach the third level of sub-albums it changes to the following:
Image Gallery | 2010 ... June | Trip to Tokyo
Is there a way to remove the "..." characters and keep them like the rest, in this case "|"?
It happens in all the templates that are included with ZenPhoto so I guess the problem lays somewhere else.
Apologies in advance if this has been already answered but after a few searches I couldn't find anything about this problem.
Thank you,
Comments
Sure you didn't change any parameters and use a custom theme? Just asking.... Maybe you could post a link so we can see it.
I'm using the zpmasonry_v1.4.2 theme but the ellipsis is always present even with the default themes (Effervescence+, Garland, Stopdesign Theme, Zenpage).
I uploaded a couple of screenshots to exemplify the problem using the default template.
http://www.tomasrovina.com/temp/ I don't think I did but just in change my memory is playing tricks on me, what kind of parameters are you talking about?
Thanks!
http://zenphoto.maltem.de/Test/testalbum2-1/testalbum3-1/testalbum4-1/testalbum5-1/testalbum6-1/Cosmos04+Kopie.jpg.php
I'll keep looking into it and get back to you if I find anything.
`
function printParentBreadcrumb($before = NULL, $between=NULL, $after=NULL, $truncate=NULL, $elipsis=NULL) {
global $_zp_gallery, $_zp_current_search, $_zp_current_album, $_zp_last_album;
echo $before;
if (is_null($between)) $between=' | ';
if (is_null($after)) $after=' | ';
if (is_null($elipsis)) $between='...';
`
I changed this:
`
if (is_null($elipsis)) $between='...';
`
into this and the ellipsis is gone from the breadcrumbs.
`
if (is_null($elipsis)) $between=' | ';
`
The problem now is that I can only have the | to separate album levels in the breadcrumbs. Although not a big deal, I would like to know if there is a better way to fix this.
Thanks.
On the standard default theme image.php it looks like this for me:
`
printParentBreadcrumb("", " | ", " | ");
printAlbumBreadcrumb("", " | ");
`
I think we had an issue recently that on some php configurations the NULL value is triggered wrong. It happens on one and not on the others (incl, mine).
I checked the default theme's image.php and it has exactly the same lines.
Should I just wait until the next release and hope this problem gets fixed?
Thanks!
Not sure what happened there. I'm just glad it's now OK.
Thank you very much for your help.