Maybe I missed it but I don't see any way to implement the Gallery Link option in G2.
I want to make an album that does not show a link to the top level album. Is this possible in G2?
----
Gallery version: G2 B4
Apache version: 1.3.33
PHP version (don't just say PHP 4, please): 4.3.9
Graphics Toolkit: Image Magick NetPBM
Operating system: Linux
Web browser/version (if applicable): IE 6.0
Posts: 16503
This is a customization issue. I'll move the post to the customization group.
You would edit /modules/core/templates/blocks/BreadCrumb.tpl. It's best to either create a directory named local in the blocks directory or copy BreadCrumb.tpl to your theme's template directory then edit theme.tpl and change this line
{g->block type="core.BreadCrumb"}to this{g->theme include="BreadCrumb.tpl"}See this post for more information on that last part:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=153907#153907
The information you posted is for G1, not G2. See this link for info on obtaining G2 system information:
http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
Posts: 34
Sorry, the info in my post says G1.5 but the post is actually about G2 and I pasted incorrect site info in the post.
Posts: 8601
i think you can also add to your theme.css:
.BreadCrumb-1 { display: none; }
has anyone tried this?
Posts: 16503
mindless, just tried that, yes it works. The only two "oddities" I see from this you can see in the images I posted. 1) that row colapses on itself and 2) there ends up being a separator at the beginning of the breadcrumb.
I've never tried to remove that first "home" link and now see just how much of a pain in the butt it would be to get back to the main album if someone wanted to. You'd have to edit the URL in your browser's location bar or if you have albumselect enabled you could use that as well.
EDIT: helps if I add both screen shots before I hit Submit...