![]() |
|
Vertical Breadcrumb - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Vertical Breadcrumb (/thread-1487.html) |
Vertical Breadcrumb - dreado - 16-06-2007 Just downloaded zenphoto, looks great! I was wondering if anyone knows if you can create a vertical breadcrumb trail (rather than the horizontal one), by editing a theme? Had a look and seems breadcrumb items are in h2, but can’t see where the styling is that makes the heading inline. Vertical Breadcrumb - DarrellD - 16-06-2007 The code to make it inline is within the `function printImageTitle($editable=false) { global $_zp_current_image; if ($editable && zp_loggedin()) {
} else {
} }` `function getImageTitle() { if(!in_context(ZP_IMAGE)) return false; global $_zp_current_image; return $_zp_current_image->getTitle(); }` Vertical Breadcrumb - dreado - 16-06-2007 Ok thanks. Vertical Breadcrumb - DarrellD - 17-06-2007 Why is it there? Most likely because of the embedded AJAX there in the code. It allows the AJAX-enabled form to be placed there, inline[d]. Semantically, yes, it would be better to place all styles in the stylesheet, but this is also the reason why the |