would like to add a HOME link

Hi,
I would like to add a HOME link to all my gallery pages to be in front of the Gallery Title. I have tried various ways of inserting this link ?>
Home
<?php in front of this code in the index.php page: ?>

<?php printHomeLink('', ' | '); printGalleryTitle(); ?>


But I cant get it to work. wonder if anybody could give me a hint. Many thanks in advance.
Stefan

Comments

  • acrylian Administrator, Developer
    edited October 2020

    Note that the home link does not refer to the Zenphoto site itself (that's the gallery index) but some parent site (IMHO a mislabeling from old times as we consider Zenphoto sites itself…). If you use a standard theme you don't need to add this as the breadcrumb function already does that. But you need to set an URL on the corresponding option. You also have to set a name for the link on the 2nd related option.

  • Many thanks. I am using the 'basic' theme. I am not sure what you mean with ' you need to set an URL on the corresponding option. You also have to set a name for the link on the 2nd related option'. Where are these options available? Thanks for your help.

  • acrylian Administrator, Developer

    Visit Options > Gallery and set the website title and website url options as described. as said it is not the home link of the Zenphoto site but on some parent site if you use Zenphoto as "part of it". That is from the times when Zenphoto was "just" a gallery system and not a complete CMS with pages and blog itself.

  • Thanks. Fantastic!

Sign In or Register to comment.