modifying core.BreadCrumb

karas

Joined: 2007-04-02
Posts: 8
Posted: Tue, 2009-06-16 00:37

hi!

i'm using my gallery only in photo view (i'm linking to the photos directly from my blog).
i don't want that anyone could browse in my gallery, so i want to change the default core.breadcrumb tree:
[url=#]Gallery name[/url] > [url=#]Album name[/url] > Picture name

to that:
Album name > Picture name
(without links)

i'm using the carbon theme, but i think that is all the same.
anybody could help me?
thank you very much:
karas

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2009-06-16 01:46

You can edit modules/core/templates/blocks/BreadCrumb.tpl

or you can add $gallery->setConfig('breadcrumbRootId', 418); to config.php with the albumId you want as breadcrumb root.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-06-16 01:47

Edit /modules/core/templates/blocks/BreadCrumb.tpl

http://codex.gallery2.org/Gallery2:Editing_Templates
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
karas

Joined: 2007-04-02
Posts: 8
Posted: Tue, 2009-06-16 08:42

thanks! its working