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
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!
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
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 ;)
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
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.
change line 1589 of functions.inc.php from
$breadcrumb .= ' > ' . $breadcrumb_link;
to
$breadcrumb .= ' - ' . $breadcrumb_link;
or any other Character that you want
Hey guys,
That worked perfectly, thank you for your help. This thread can be marked solved.
Cheers
Carl
Hi!
Another one who needs help :)
I would like to remove Hits Rates, Comments, Favourites .. from breadcrumb
Where can i remove them?
thanx
That's not the breadcrumb.
http://forum.coppermine-gallery.net/index.php?topic=25197.0
Locking