![]() |
|
function printParentBreadcrumb: $elipsis - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: function printParentBreadcrumb: $elipsis (/thread-9538.html) |
function printParentBreadcrumb: $elipsis - Wete - 2012-01-28 Hello again! I prefer this character as separator for the breadcrumbs: " ยป ". I thought, it would be sufficient to edit the theme files (index, album, image and search), but I found the function "printParentBreadcrumb" in zp-core/template-functions.php (lines 923ff). I had to edit the pipe symbol there (which is not quite elegant, but it works, I'll have to edit this when further updates arrive), and I found the variables $between, $after and $elipsis there. Greetings! function printParentBreadcrumb: $elipsis - acrylian - 2012-01-28 You really NEVER should modify core files. If you need customizations the right place is to do this in a theme and therefore make a custom copy of it. This is why these functions have parameters you can set. printParentBreadcrumb has a parameter for the ellipsis. function printParentBreadcrumb: $elipsis - Wete - 2012-01-28 Oops. function printParentBreadcrumb: $elipsis - Wete - 2012-01-29 Back to my question: What is the trigger for using the ellipsis in the breadcrump? function printParentBreadcrumb: $elipsis - acrylian - 2012-01-29 I had to look myself. So, the ellipsis parameter does not refer to the the navigation itself actually. It is used for the truncation of the album title that is shown if you hover over the link (via the title attribute). If you ever saw that as a delimiter you either confused it with the panelist (which uses an ellipsis if you have very many album pages) or something custom coded for a specific theme. Sorry for the confusion but I don't remember all functions off hand as well... |