Member
Member
hannacharlotte   26-04-2011, 21:30
#1

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

Administrator
Administrator
acrylian   27-04-2011, 08:27
#2

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.

Member
Member
hannacharlotte   27-04-2011, 09:55
#3

I will try it, thank you for your quick reply!

Member
Member
hannacharlotte   28-04-2011, 11:10
#4

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.

Administrator
Administrator
acrylian   28-04-2011, 17:38
#5

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

Member
Member
sbillard   28-04-2011, 22:01
#6

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.

Administrator
Administrator
acrylian   29-04-2011, 08:48
#7

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.