printHomeLink call on default index.php page?

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...

`

<?php echo getGalleryTitle(); ?>

`

to this...

`

<?php printHomeLink('', ' | '); ?><?php echo getGalleryTitle(); ?>

`

That seems to do what I want and I wonder if this shouldn't be there by default?

Thanks for any input.

Jeff

Comments

  • 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.
  • 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
  • They are different, but looking at the current source code, this has been fixed.
  • That's great, thanks. At least I won't need to worry about maintaining my small change after an upgrade.

    Jeff
Sign In or Register to comment.