integrate homepage in breadcrumb

Dear all,

I am using the Default theme (slightly modified to my needs). I would like to integrate my homepage-URL to the breadcrumb. And I don't know how.
Seems like there ist always the link to www.mypage.de/zenphoto before everything I type in, so that I cant link to my index-Page.

Thank you for support,
Hanna

Comments

  • acrylian Administrator, Developer
    Well, that link is the "homepage" of your Zenphoto install.
    Actually you should be able to fill in the home link in the option for this. If the theme does not support it (the standard default theme does as far as I know) you have to modify the theme to include that link.
  • I will try it, thank you for your quick reply!
  • Hi Acrylian,
    As I found out, the Default Theme does not support a linking to a page outside my zenphoto directory. At least not in the normal options menue.
    But I really need it, so I would like to modify the theme.
    Beeing a PHP-analphabet I cant figure out, in WHICH of all .php-template-files I will have to do that and exactly WHAT I have to do...
    Thank you (in advance) for your support.
  • acrylian Administrator, Developer
    Default theme should support that through this function already:
    http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintHomeLink

    Actually there should be an option where you can enter the link. Seems that got lost or was thrown out (don'T remember have to ask my collegue).

    Anyway, you can easily add the link directly to the breadcrumb (the function is named like that). Please read the theming tutorial to learn to edit which pages (actually all).
  • How about `options`/`gallery`:website url "This is used to link back to your main site, but your theme must support it."

    Was that so hard to find?

    [edit] Well, I checked the default theme. It does indeed support just what you ask. You will see where it uses the `printHomeLink()` functions in each of its script files. So, I guess if your "slightly modified" version does not provide this, you must have inadvertantly removed these function calls.
  • acrylian Administrator, Developer
    Indeed, my apologies for confusing anyone (and myself). I somehow looked to fast inbetween myself while being busy with something else sideways.. too late for me that evening apparently... (and never used that option myself for ages I have to admit..)
Sign In or Register to comment.