![]() |
|
printHomeLink call on default index.php page? - 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: printHomeLink call on default index.php page? (/thread-2256.html) |
printHomeLink call on default index.php page? - jgodfrey - 2008-02-19 Hi All, I'm currently using ZP 1.1.4 and the default theme. I just filled out the "website title" and "website url" Gallery config options in order to have my website added at the beginning of the "breadcrumb" list. That all works great, except that the main gallery page (index.php) doesn't get the additional link. So, that single page is kind of left in no-man's land with regard to getting back to the original website. Looking at the code, I found that a call to "printHomeLink" is missing in the index.php file, so I added it. Specifically, I changed this... `` to this... `` That seems to do what I want and I wonder if this shouldn't be there by default? Thanks for any input. Jeff printHomeLink call on default index.php page? - jsumners - 2008-02-19 If I'm not mistaken, that was fixed right after the last release. So the next release (or the nightly build) will contain the correct index.php. See #378. If you are using a theme other than StopDesign that has this problem, post the name of the theme. printHomeLink call on default index.php page? - jgodfrey - 2008-02-19 Thanks for the reply. Issue #378 does sound like the same thing. Regarding which theme I'm using, it's just listed as "Default" in the theme selector, and it's located in the "themes/default" folder. Is that StopDesign? It's definitely listed separately from StopDesign, and seems to look different. Jeff printHomeLink call on default index.php page? - jsumners - 2008-02-19 They are different, but looking at the current source code, this has been fixed. printHomeLink call on default index.php page? - jgodfrey - 2008-02-19 That's great, thanks. At least I won't need to worry about maintaining my small change after an upgrade. Jeff |