Member
Member
tunafish   2011-12-19, 15:35
#1

I just uploaded to my server and the function printParentBreadcrumb() function prints ... instead of »

My code in image.php is following:
`

[b][/b] ()

`
The example here:
http://goo.gl/pDgBi

Administrator
Administrator
acrylian   2011-12-19, 16:28
#2

See the documentation and last parameter: http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintParentBreadcrumb
IF the parent name is too long it truncates otherwise.

Btw, I suggest to change this footer line "Zenpage theme by Anton Puttemans" as the "Zenpage theme" is by me (and this is not the Zenpage theme).

Member
Member
tunafish   2011-12-20, 01:05
#3

Yeah I could have played around some more with that...

A bit strange because on localhost printParentBreadcrumb(""," » "," » "); worked fine and on my hosted server I needed printParentBreadcrumb(""," » "," » ", NULL, "");

Oh well, sorry about the footer acrylian, it's just some test pages, but I will remove the "Zenpage theme" part

Member
Member
sbillard   2011-12-20, 01:53
#4

There was a ticket recently on printParentBreadcrumb(). There were some typos in dealing with the parameters NUL instead of NULL for the test. I would guess that one install has the fix and the other does not.

Administrator
Administrator
acrylian   2011-12-20, 11:27
#5

@Tunafish: No big deal especially since its a test site. But as always "credit where credit is due"..;-)

Right, the NULL issue I did forget completly. However that last parameter should remove hte elipsis if you set it to "" (empty) actually...

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.