coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Walkinman on April 08, 2006, 11:21:29 PM

Title: Changing the Breadcrumb
Post by: Walkinman on April 08, 2006, 11:21:29 PM
hello,

I'm trying to tweak my newly installed cpg, and all I wnt it to function as is a slide show for maybe 10 galleries. I don't want the galleries to link to each other, or to a main index.php. you can see the first of these pages here:

http://www.alaskanalpinetreks.com/slideshows/displayimage.php?album=1&pos=0

In the breadcrumb I want to remove the word "Home", as well as the ">" symbols, and make the remaining 2 items "Alaskan Alpine Treks trips Slide Show" and "Skolai Pass Trip" not act as links .. just be text phrases. Possibly with a little more space between them.

I also want to remove all the menu items at the to of the page . if the moderators want me to start a new thread for that request, just let me know and I'll do that.

Thank you.

Cheers

Carl
Title: Re: Changing the Breadcrumb
Post by: Joachim Müller on April 09, 2006, 10:31:26 AM
Quote from: Walkinman on April 08, 2006, 11:21:29 PM
if the moderators want me to start a new thread for that request, just let me know and I'll do that.
Exactly - one issue per thread!
Title: Re: Changing the Breadcrumb
Post by: Walkinman on April 09, 2006, 05:32:31 PM
Hey GauGau,

Done, sorry.

What I want with the breadcrumb, is for it to display the album name, an dthe categories, but I don't want for those to link back to anything. Just be plain text. Is that possible?

I appreciate your help, thank you.

Cheers

Carl
Title: Re: Changing the Breadcrumb
Post by: Sami on April 09, 2006, 08:48:52 PM
to remove "Home" you can comment line 1560 of functions.inc.php under include directory of gallery

        $breadcrumb_links[0] = '<a href="index.php">'.$lang_list_categories['home'].'</a>';

or you can put this insted , to make it text (Unlink)

$breadcrumb_links[0] = $lang_list_categories['home'];

also you can do this to line 1566 to make "categories" Unlink
change this

  $breadcrumb_links[$cat_order] = "<a href=\"index.php?cat={$category[0]}\">{$category[1]}</a>";

to

$breadcrumb_links[$cat_order] = "{$category[1]}";

have fun with your gallery ;)
Title: Re: Changing the Breadcrumb
Post by: Walkinman on April 09, 2006, 10:10:16 PM
Hey Bmossavari,

Thanks - I managed to do that, and it works fine. Do you know how I can remove the '>' and replace it with ' - '?

I'll post another thread to get the next and prev buttons in the same bar, if that's possible.

Thanks again.

Cheers

Carl
Title: Re: Changing the Breadcrumb
Post by: Nibbler on April 09, 2006, 10:19:15 PM
Look in the function breadcrumb in include/functions.inc.php, towards the end. There seems to be a way to change it through the theme system too, but I'm not exactly sure how that works.
Title: Re: Changing the Breadcrumb
Post by: Sami on April 09, 2006, 10:20:29 PM
change line 1589 of functions.inc.php from

$breadcrumb .= ' > ' . $breadcrumb_link;

to

$breadcrumb .= ' - ' . $breadcrumb_link;

or any other Character that you want
Title: Re: Changing the Breadcrumb
Post by: Walkinman on April 09, 2006, 10:25:32 PM
Hey guys,

That worked perfectly, thank you for your help. This thread can be marked solved.

Cheers

Carl
Title: Re: Changing the Breadcrumb
Post by: gregy on July 09, 2006, 02:16:48 PM
Hi!

Another one who needs help :)

I would like to remove Hits Rates, Comments, Favourites .. from breadcrumb

Where can i remove them?

thanx
Title: Re: Changing the Breadcrumb
Post by: Nibbler on July 09, 2006, 02:18:22 PM
That's not the breadcrumb.

http://forum.coppermine-gallery.net/index.php?topic=25197.0
Title: Re: Changing the Breadcrumb
Post by: Joachim Müller on July 09, 2006, 11:48:41 PM
Locking